Skip to content

Commit

Permalink
scorllbar use tailwind
Browse files Browse the repository at this point in the history
  • Loading branch information
meetqy committed Dec 16, 2023
1 parent c6301b1 commit bee3be1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion apps/electron/src/renderer/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
@tailwind utilities;

.scroll-y {
@apply overflow-y-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-neutral/50 scrollbar-track-rounded scrollbar-thumb-rounded;
@apply overflow-y-auto scrollbar-thin scrollbar-track-base-200 scrollbar-thumb-primary/50 scrollbar-track-rounded-box scrollbar-thumb-rounded-box;
}

.card-wrapper {
Expand Down
12 changes: 2 additions & 10 deletions themes/gallery/src/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,6 @@
}
}

body::-webkit-scrollbar {
@apply w-2;
}

body::-webkit-scrollbar-track {
@apply bg-base-200;
}

body::-webkit-scrollbar-thumb {
@apply rounded-box bg-primary/50;
body {
@apply scrollbar-thin scrollbar-track-base-200 scrollbar-thumb-primary/50 scrollbar-track-rounded-box scrollbar-thumb-rounded-box;
}

0 comments on commit bee3be1

Please sign in to comment.