Merge branch 'backlink-css'

This commit is contained in:
ccd0 2015-10-30 22:12:46 -07:00
commit 5eb577ac56
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 { :root.hide-backlinks .backlink.filtered + .hashlink.filtered {
display: none; display: none;
} }
.postNum + .container::before {
content: " ";
}
.inline { .inline {
border: 1px solid; border: 1px solid;
display: table; display: table;
@ -1633,17 +1636,12 @@ a:only-of-type > .remove {
margin: 2px; margin: 2px;
vertical-align: middle; vertical-align: middle;
} }
.reply .menu-button, .post .menu-button,
.op .menu-button,
#thread-watcher .menu-button { #thread-watcher .menu-button {
margin-left: -1px !important; width: 18px;
width: 20px;
height: 15px; height: 15px;
text-align: center; text-align: center;
} }
.menu-button + .container :first-child {
margin-left: -5px;
}
#menu { #menu {
position: fixed; position: fixed;
outline: none; outline: none;

View File

@ -35,7 +35,8 @@ QuoteBacklink =
for clone in post.clones for clone in post.clones
containers.push clone.nodes.backlinkContainer containers.push clone.nodes.backlinkContainer
for container in containers 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'] if Conf['Quote Previewing']
$.on link, 'mouseover', QuotePreview.mouseover $.on link, 'mouseover', QuotePreview.mouseover
if Conf['Quote Inlining'] if Conf['Quote Inlining']