From 7b82ed272264827863d4b0af5125364be74ac026 Mon Sep 17 00:00:00 2001 From: Adam Setch Date: Wed, 23 Oct 2024 21:08:41 -0400 Subject: [PATCH] feat: stable scrollbars Signed-off-by: Adam Setch --- src/renderer/App.css | 1 + .../components/AccountNotifications.tsx | 2 +- src/renderer/components/NotificationRow.tsx | 2 +- .../components/RepositoryNotifications.tsx | 2 +- .../AccountNotifications.test.tsx.snap | 30 +++++++++---------- .../NotificationRow.test.tsx.snap | 12 ++++---- .../RepositoryNotifications.test.tsx.snap | 14 ++++----- 7 files changed, 32 insertions(+), 31 deletions(-) diff --git a/src/renderer/App.css b/src/renderer/App.css index dbd60cc2d..e22f3aec1 100644 --- a/src/renderer/App.css +++ b/src/renderer/App.css @@ -3,6 +3,7 @@ body, #root { height: 100%; -webkit-user-select: none; + scrollbar-gutter: stable; } html::-webkit-scrollbar, diff --git a/src/renderer/components/AccountNotifications.tsx b/src/renderer/components/AccountNotifications.tsx index cc9f6bdce..7a6d495a8 100644 --- a/src/renderer/components/AccountNotifications.tsx +++ b/src/renderer/components/AccountNotifications.tsx @@ -74,7 +74,7 @@ export const AccountNotifications: FC = ( {showAccountHeader && (
= ({
= ({ return ( <>
, "container":
, "container":
, "container":
, "container":
, "container":
, "container":
, "container":
, "container":
, "container":
, "container":
, "container":