Skip to content

Commit

Permalink
! updates for very long board names breaking layout
Browse files Browse the repository at this point in the history
  • Loading branch information
Spuds committed Mar 12, 2016
1 parent 963c115 commit 2f352b8
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
2 changes: 1 addition & 1 deletion themes/default/MessageIndex.template.php
Expand Up @@ -323,7 +323,7 @@ function template_topic_listing_below()

echo '
<div id="topic_icons" class="description">
<div class="floatright" id="message_index_jump_to">&nbsp;</div>';
<div class="qaction_row" id="message_index_jump_to">&nbsp;</div>';

if (!$context['no_topic_listing'])
template_basicicons_legend();
Expand Down
11 changes: 8 additions & 3 deletions themes/default/css/index.css
Expand Up @@ -183,6 +183,10 @@ input, .input_text, button, select {
}
select {
padding: 0 0 0 2px;
max-width: 95%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.input_text {
font-size: .876em;
Expand Down Expand Up @@ -1657,7 +1661,7 @@ dl.settings label {
float: left;
}
.board_name {
padding: 0 0 1px 0;
padding: 0 0 1px 56px;
font-size: 1.143em;
}
.board_info .board_description, .board_info .moderators {
Expand Down Expand Up @@ -4241,7 +4245,7 @@ dl.no_members {
min-width: 20em;
}
.board_name {
margin: 12px 0 0 56px;
margin: 12px 0 0;
}
.board_lastposter {
display: block;
Expand Down Expand Up @@ -4550,7 +4554,8 @@ dl.no_members {
word-wrap: break-word;
}
.board_name {
margin: 0 0 0 35px;
margin: 0;
padding: 0 0 1px 35px;
}
.board_info:after {
display: block;
Expand Down
9 changes: 5 additions & 4 deletions themes/default/css/rtl.css
Expand Up @@ -500,6 +500,9 @@ dl.settings img {
.board_info .board_description, .board_info .moderators {
margin: 0 56px 0 0;
}
.board_name {
padding: 0 56px 1px 0;
}
.board_stats {
text-align: left;
padding: 1px 6px 1px 0;
Expand Down Expand Up @@ -1171,9 +1174,6 @@ div.labels {
margin-right: 0;
margin-left: 5px;
}
.board_name {
margin: 0 56px 0 0;
}
.board_description, .moderators, .childboards {
margin: 0 8px 0 0;
}
Expand Down Expand Up @@ -1247,7 +1247,8 @@ div.labels {
margin: 0 5px;
}
.board_name {
margin: 0 35px 0 0;
margin: 0;
padding: 0 35px 0 0;
}
#basicinfo, #detailedinfo {
float: none;
Expand Down

0 comments on commit 2f352b8

Please sign in to comment.