#72467 by m3avrck. Better display for long book page and forum topic titles.
parent
e7ca0fe512
commit
392041edf6
|
@ -12,10 +12,19 @@
|
|||
}
|
||||
.book-navigation .page-previous {
|
||||
text-align: right;
|
||||
width: 42%;
|
||||
display: block;
|
||||
float: left;
|
||||
}
|
||||
.book-navigation .page-up {
|
||||
margin: 0 4em;
|
||||
margin: 0 5%;
|
||||
width: 4%;
|
||||
display: block;
|
||||
float: left;
|
||||
}
|
||||
.book-navigation .page-next {
|
||||
text-align: left;
|
||||
width: 42%;
|
||||
display: block;
|
||||
float: left;
|
||||
}
|
||||
|
|
|
@ -511,7 +511,7 @@ function theme_book_navigation($node) {
|
|||
$output .= $tree;
|
||||
}
|
||||
if (isset($links)) {
|
||||
$output .= '<div class="page-links">'. $links .'</div>';
|
||||
$output .= '<div class="page-links clear-block">'. $links .'</div>';
|
||||
}
|
||||
$output .= '</div>';
|
||||
}
|
||||
|
|
|
@ -18,9 +18,12 @@
|
|||
padding: 0.5em;
|
||||
}
|
||||
.forum-topic-navigation .topic-previous {
|
||||
margin-right: 4em;
|
||||
text-align: right;
|
||||
float: left;
|
||||
width: 46%;
|
||||
}
|
||||
.forum-topic-navigation .topic-next {
|
||||
text-align: left;
|
||||
float: right;
|
||||
width: 46%;
|
||||
}
|
||||
|
|
|
@ -1098,7 +1098,7 @@ function theme_forum_topic_navigation($node) {
|
|||
}
|
||||
|
||||
if ($prev || $next) {
|
||||
$output .= '<div class="forum-topic-navigation">';
|
||||
$output .= '<div class="forum-topic-navigation clear-block">';
|
||||
|
||||
if ($prev) {
|
||||
$output .= l(t('‹ ') . $prev->title, 'node/'. $prev->nid, array('class' => 'topic-previous', 'title' => t('Go to previous forum topic')));
|
||||
|
|
Loading…
Reference in New Issue