Commit 90012f5b authored by jcnventura's avatar jcnventura

Fix #478196: use CSS instead of break tags to arrange block links vertically

parent 7f296f35
...@@ -13,6 +13,10 @@ ...@@ -13,6 +13,10 @@
*/ */
} }
div#block-print-0 span {
display: block;
}
.print_html, .print_mail, .print_pdf { .print_html, .print_mail, .print_pdf {
margin-left: 1em; margin-left: 1em;
} }
......
...@@ -171,7 +171,7 @@ function print_block_view($delta = 0) { ...@@ -171,7 +171,7 @@ function print_block_view($delta = 0) {
if (preg_match('!^print.*?_insert_link$!', $func)) { if (preg_match('!^print.*?_insert_link$!', $func)) {
$link = $func(NULL, $node); $link = $func(NULL, $node);
if (!empty($link)) { if (!empty($link)) {
$block['content'] .= $link . '<br />'; $block['content'] .= $link;
} }
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment