From f72eb374d62d90f01d445854d3a39deae40bac41 Mon Sep 17 00:00:00 2001 From: Adam Setch Date: Thu, 20 Jun 2024 22:00:17 -0400 Subject: [PATCH 1/3] refactor: further margin and size tweaks --- src/components/AccountNotifications.tsx | 6 +- src/components/NotificationRow.tsx | 4 +- .../AccountNotifications.test.tsx.snap | 376 ++++++++++-------- .../NotificationRow.test.tsx.snap | 56 +-- 4 files changed, 240 insertions(+), 202 deletions(-) diff --git a/src/components/AccountNotifications.tsx b/src/components/AccountNotifications.tsx index 8eda15d1d..518e94d86 100644 --- a/src/components/AccountNotifications.tsx +++ b/src/components/AccountNotifications.tsx @@ -74,8 +74,10 @@ export const AccountNotifications: FC = ( )} onClick={toggleAccountNotifications} > -
- +
+
+ +
@@ -1216,11 +1216,11 @@ exports[`components/AccountNotifications.tsx should render itself (github.com wi height="14" role="img" style="display: inline-block; user-select: none; vertical-align: text-bottom; overflow: visible;" - viewBox="0 0 16 16" + viewBox="0 0 12 12" width="14" > From fbd04fd714562fba91e349d211c4ad7dba0bc917 Mon Sep 17 00:00:00 2001 From: Adam Setch Date: Sat, 22 Jun 2024 10:36:16 -0400 Subject: [PATCH 3/3] Merge branch 'main' into refactor/styles-cleanup --- .../__snapshots__/AccountNotifications.test.tsx.snap | 8 ++++---- .../__snapshots__/NotificationRow.test.tsx.snap | 4 ++-- src/components/notification/NotificationHeader.tsx | 2 +- .../__snapshots__/NotificationHeader.test.tsx.snap | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/components/__snapshots__/AccountNotifications.test.tsx.snap b/src/components/__snapshots__/AccountNotifications.test.tsx.snap index 5d3f575d6..9250db70f 100644 --- a/src/components/__snapshots__/AccountNotifications.test.tsx.snap +++ b/src/components/__snapshots__/AccountNotifications.test.tsx.snap @@ -104,7 +104,7 @@ exports[`components/AccountNotifications.tsx should render itself (github.com wi gitify-app/notifications-test's avatar @@ -300,7 +300,7 @@ exports[`components/AccountNotifications.tsx should render itself (github.com wi gitify-app/notifications-test's avatar @@ -522,7 +522,7 @@ exports[`components/AccountNotifications.tsx should render itself (github.com wi gitify-app/notifications-test's avatar @@ -718,7 +718,7 @@ exports[`components/AccountNotifications.tsx should render itself (github.com wi gitify-app/notifications-test's avatar diff --git a/src/components/__snapshots__/NotificationRow.test.tsx.snap b/src/components/__snapshots__/NotificationRow.test.tsx.snap index e27690f60..bf6d61fad 100644 --- a/src/components/__snapshots__/NotificationRow.test.tsx.snap +++ b/src/components/__snapshots__/NotificationRow.test.tsx.snap @@ -4672,7 +4672,7 @@ exports[`components/NotificationRow.tsx should render itself & its children - gr gitify-app/notifications-test's avatar @@ -4871,7 +4871,7 @@ exports[`components/NotificationRow.tsx should render itself & its children - gr gitify-app/notifications-test's avatar diff --git a/src/components/notification/NotificationHeader.tsx b/src/components/notification/NotificationHeader.tsx index 248db2d0d..a4c9dd1ff 100644 --- a/src/components/notification/NotificationHeader.tsx +++ b/src/components/notification/NotificationHeader.tsx @@ -33,7 +33,7 @@ export const NotificationHeader: FC = ({ diff --git a/src/components/notification/__snapshots__/NotificationHeader.test.tsx.snap b/src/components/notification/__snapshots__/NotificationHeader.test.tsx.snap index 4a959d297..be3a6711b 100644 --- a/src/components/notification/__snapshots__/NotificationHeader.test.tsx.snap +++ b/src/components/notification/__snapshots__/NotificationHeader.test.tsx.snap @@ -11,7 +11,7 @@ exports[`components/notification/NotificationHeader.tsx should render itself & i gitify-app/notifications-test's avatar @@ -31,7 +31,7 @@ exports[`components/notification/NotificationHeader.tsx should render itself & i gitify-app/notifications-test's avatar