Fix #671, tighten up alignment of index-menu content
This commit is contained in:
parent
04c60a62ef
commit
d7b5fab819
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -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
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user