From 4d2839457a903d210e9790e43e0b353fa9e1eb6c Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Sat, 25 Sep 2021 18:32:42 -0400 Subject: [PATCH] CSS: Fix underscore and clear authorship icon alignment --- src/static/css/pad/icons.css | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/static/css/pad/icons.css b/src/static/css/pad/icons.css index 0ae7ed2db..eb1016dca 100644 --- a/src/static/css/pad/icons.css +++ b/src/static/css/pad/icons.css @@ -55,9 +55,6 @@ } .buttonicon-clearauthorship:before { content: "\e843"; - left: -9px; - position: absolute; - top: -9px; } .buttonicon-settings:before { content: "\e851"; @@ -87,9 +84,9 @@ .ep_font_color .buttonicon:before { content: '\e84e' !important; border-bottom: solid 2px #e42a2a; } .buttonicon-underline:before { - top: -8px; - left: -8px; - position: absolute; + /* The baseline of the underscore glyph seems off. Compensate for it here. */ + top: 0.1em; + position: relative; } /* COPY CSS GENERATED BY FONTELLO HERE */