From 404aefc766889badf37ebed368a81d091c8541fb Mon Sep 17 00:00:00 2001 From: ccd0 Date: Tue, 27 Oct 2015 19:14:38 -0700 Subject: [PATCH] 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. --- src/General/css/style.css | 12 +++++------- src/Quotelinks/QuoteBacklink.coffee | 3 ++- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/General/css/style.css b/src/General/css/style.css index 49ad8bcb7..655a67585 100755 --- a/src/General/css/style.css +++ b/src/General/css/style.css @@ -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; diff --git a/src/Quotelinks/QuoteBacklink.coffee b/src/Quotelinks/QuoteBacklink.coffee index 3c6fada31..f41d5221c 100755 --- a/src/Quotelinks/QuoteBacklink.coffee +++ b/src/Quotelinks/QuoteBacklink.coffee @@ -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']