Fix #671, tighten up alignment of index-menu content

This commit is contained in:
Zixaphir 2014-07-27 16:48:09 -07:00
parent 04c60a62ef
commit d7b5fab819
4 changed files with 21 additions and 21 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -497,8 +497,9 @@ Index =
updateHideLabel: ->
hiddenCount = 0
for threadID, thread of g.BOARD.threads when thread.isHidden
hiddenCount++ if thread.ID in Index.liveThreadData.keys
for threadID in g.BOARD.threads.keys
thread = g.BOARD.threads[threadID]
hiddenCount++ if thread.isHidden and threadID in Index.liveThreadData.keys
unless hiddenCount
Index.hideLabel.hidden = true
Index.cb.toggleHiddenThreads() if Index.showHiddenThreads

View File

@ -79,6 +79,7 @@ body > hr {
/* Index Features */
#index-menu {
display: flex;
<%= align %>-items: center
}
:root.thread #index-menu,
:root.index-loading .navLinks,
@ -123,7 +124,7 @@ body > hr {
display: inline-flex;
text-align: left;
flex-direction: column;
align-items: center;
<%= align %>-items: center;
margin: 0 2px 5px;
word-break: break-word;
vertical-align: top;