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: -> updateHideLabel: ->
hiddenCount = 0 hiddenCount = 0
for threadID, thread of g.BOARD.threads when thread.isHidden for threadID in g.BOARD.threads.keys
hiddenCount++ if thread.ID in Index.liveThreadData.keys thread = g.BOARD.threads[threadID]
hiddenCount++ if thread.isHidden and threadID in Index.liveThreadData.keys
unless hiddenCount unless hiddenCount
Index.hideLabel.hidden = true Index.hideLabel.hidden = true
Index.cb.toggleHiddenThreads() if Index.showHiddenThreads Index.cb.toggleHiddenThreads() if Index.showHiddenThreads

View File

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