Skip to content

Commit

Permalink
Revert "feat: stable scrollbars" (#1608)
Browse files Browse the repository at this point in the history
Revert "feat: stable scrollbars (#1603)"

This reverts commit 4671b87.
  • Loading branch information
setchy authored Oct 24, 2024
1 parent d075103 commit ee3b1d9
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 32 deletions.
1 change: 0 additions & 1 deletion src/renderer/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ body,
#root {
height: 100%;
-webkit-user-select: none;
scrollbar-gutter: stable;
}

html::-webkit-scrollbar,
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/AccountNotifications.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export const AccountNotifications: FC<IAccountNotifications> = (
{showAccountHeader && (
<div
className={cn(
'group flex items-center justify-between pl-3 pr-4 py-1.5 text-sm font-semibold dark:text-white',
'group flex items-center justify-between px-3 py-1.5 text-sm font-semibold dark:text-white',
props.error
? 'bg-red-300 dark:bg-red-500'
: 'bg-gray-300 dark:bg-gray-darkest',
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/NotificationRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export const NotificationRow: FC<INotificationRow> = ({
<div
id={notification.id}
className={cn(
'group flex border-b border-gray-100 bg-white pl-3 pr-4 py-2 hover:bg-gray-100 dark:border-gray-darker dark:bg-gray-dark dark:text-white dark:hover:bg-gray-darker',
'group flex border-b border-gray-100 bg-white px-3 py-2 hover:bg-gray-100 dark:border-gray-darker dark:bg-gray-dark dark:text-white dark:hover:bg-gray-darker',
(isAnimated || animateExit) &&
'translate-x-full opacity-0 transition duration-[350ms] ease-in-out',
(isRead || showAsRead) && Opacity.READ,
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/RepositoryNotifications.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const RepositoryNotifications: FC<IRepositoryNotifications> = ({
return (
<>
<div
className="group flex justify-between bg-gray-100 pl-3 pr-4 py-1.5 dark:bg-gray-darker dark:text-white"
className="group flex justify-between bg-gray-100 px-3 py-1.5 dark:bg-gray-darker dark:text-white"
onClick={toggleRepositoryNotifications}
>
<div
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ee3b1d9

Please sign in to comment.