catalog: move menu to thread stats line

This commit is contained in:
ccd0 2014-09-16 00:02:53 -07:00
parent e4c05c81f0
commit 11067f01d3
2 changed files with 7 additions and 12 deletions

View File

@ -544,22 +544,17 @@ hr + div.center:not(.ad-cnt):not(.topad):not(.middlead):not(.bottomad) {
height: 13px;
padding: 20px 36px;
}
.thread-icons > img {
.thread-icons > img,
.catalog-thread > .thread-stats > .menu-button {
width: 1em;
height: 1em;
margin: 0;
vertical-align: text-top;
}
.catalog-thread > a:not(:hover) > .menu-button > i {
display: none;
}
.catalog-thread > a > .menu-button {
position: absolute;
top: 1px;
right: 1px;
}
.catalog-thread > a > .menu-button > i {
font-size: 14px;
.catalog-thread > .thread-stats > .menu-button {
text-align: center;
bottom: 1px;
font-weight: normal;
}
.thread-stats {
flex-shrink: 0;

View File

@ -23,7 +23,7 @@ Menu =
catalogNode: ->
post = g.threads[@thread.fullID].OP
$.add @nodes.thumb.parentNode, Menu.makeButton post
$.after @nodes.icons, Menu.makeButton post
makeButton: (post, button) ->
button or= Menu.button.cloneNode true