Remove the space between menu and backlinks instead of using the negative margin hack.

Negative margin hack looks funny when the line wraps at that point.
This commit is contained in:
ccd0 2015-10-27 19:14:38 -07:00
parent 3995ab1b01
commit 404aefc766
2 changed files with 7 additions and 8 deletions

View File

@ -956,6 +956,9 @@ span.hide-announcement {
:root.hide-backlinks .backlink.filtered + .hashlink.filtered {
display: none;
}
.postNum + .container::before {
content: " ";
}
.inline {
border: 1px solid;
display: table;
@ -1633,17 +1636,12 @@ a:only-of-type > .remove {
margin: 2px;
vertical-align: middle;
}
.reply .menu-button,
.op .menu-button,
.post .menu-button,
#thread-watcher .menu-button {
margin-left: -1px !important;
width: 20px;
width: 18px;
height: 15px;
text-align: center;
}
.menu-button + .container :first-child {
margin-left: -5px;
}
#menu {
position: fixed;
outline: none;

View File

@ -35,7 +35,8 @@ QuoteBacklink =
for clone in post.clones
containers.push clone.nodes.backlinkContainer
for container in containers
nodes = [$.tn(' '), link = a.cloneNode true]
link = a.cloneNode true
nodes = if container.firstChild then [$.tn(' '), link] else [link]
if Conf['Quote Previewing']
$.on link, 'mouseover', QuotePreview.mouseover
if Conf['Quote Inlining']