From 6b667a93bd0adfc3bda87bb8c65d1091ab884472 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Fri, 31 Jul 2020 14:39:34 +0200 Subject: [PATCH] also center chevron in top unread button --- res/css/views/rooms/_TopUnreadMessagesBar.scss | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/res/css/views/rooms/_TopUnreadMessagesBar.scss b/res/css/views/rooms/_TopUnreadMessagesBar.scss index c0545660c2..d9970ef037 100644 --- a/res/css/views/rooms/_TopUnreadMessagesBar.scss +++ b/res/css/views/rooms/_TopUnreadMessagesBar.scss @@ -28,7 +28,7 @@ limitations under the License. content: ""; position: absolute; top: -8px; - left: 11px; + left: 10.5px; width: 4px; height: 4px; border-radius: 16px; @@ -49,11 +49,12 @@ limitations under the License. .mx_TopUnreadMessagesBar_scrollUp::before { content: ""; position: absolute; - width: 38px; - height: 38px; + width: 36px; + height: 36px; mask-image: url('$(res)/img/icon-jump-to-first-unread.svg'); mask-repeat: no-repeat; - mask-position: 9px 13px; + mask-position: center; + mask-size: 50%; background: $muted-fg-color; }