From 0983ebb2571719eb4c9594cc990dc5ae0773905d Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Sat, 15 Oct 2022 22:12:18 +0200 Subject: [PATCH] Tweak the vertical position of the sidebar notification icon Given that the new sidebar icon is slightly shorter than the old one, it cannot hurt to ever so slightly tweak the vertical position of the notification icon. (While the patch also changes the CSS rule used for the horizontal position, this is a no-op and was done to improve consistency between the two values.) --- web/viewer.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/viewer.css b/web/viewer.css index 4c661f9c6..338f0329c 100644 --- a/web/viewer.css +++ b/web/viewer.css @@ -977,8 +977,8 @@ a.secondaryToolbarButton[href="#"] { .pdfSidebarNotification::after { position: absolute; display: inline-block; - top: 1px; - inset-inline-start: 17px; + top: 2px; + inset-inline-end: 2px; /* Create a filled circle, with a diameter of 9 pixels, using only CSS: */ content: ""; background-color: rgba(112, 219, 85, 1);