From 4e0d93b8bb11f8675e4adbae5af42c419698379c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20G=C3=BCnzler?= Date: Mon, 17 Jul 2023 21:09:00 +0900 Subject: [PATCH] fix expando alignment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit the + and x glyphs were off center for me this should make it more resilient Signed-off-by: Robert Günzler --- public/style.css | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/public/style.css b/public/style.css index b9eb6f9..0a5216d 100644 --- a/public/style.css +++ b/public/style.css @@ -454,27 +454,20 @@ form.nsfw div { border-radius: 4px; margin: 0px 4px 0px 0px; cursor: pointer; - float:left; + float: left; + text-align: center; + line-height: 23px; } .expando-button::before{ content: "+"; - float: left; - position: relative; color: #fff; font-size: 16px; - left: 11px; - top: 3px; } .open.expando-button { border-radius: 30px; } .open.expando-button::before { content: "x"; - color: #fff; - left: 7px; - top: 0px; - font-weight: bold; - font-family: sans-serif; } .expando-button:hover{ background-color: #466599;