Skip to content

Commit

Permalink
Updated scrollbar
Browse files Browse the repository at this point in the history
  • Loading branch information
GilMM27 committed Nov 1, 2024
1 parent 5f53809 commit a749831
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 3 deletions.
13 changes: 13 additions & 0 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"sonner": "^1.5.0",
"superjson": "^2.2.1",
"tailwind-merge": "^2.5.4",
"tailwind-scrollbar": "^3.1.0",
"tailwindcss-animate": "^1.0.7",
"zod": "^3.23.8"
},
Expand Down
4 changes: 2 additions & 2 deletions src/app/scoreboard/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default function ScoreboardPage() {
return (
<div className="mt-[4rem] h-96 bg-black text-sm text-white md:text-base">
<Header title="Scoreboard" />
<div className="container mx-auto overflow-x-scroll p-4">
<div className="scrollbar-thin scrollbar-thumb-roboblue scrollbar-track-gray-700 container mx-auto overflow-x-scroll p-4">
<div className="grid gap-4 md:grid-cols-2">
{/* Stream section */}
<div className="w-full">
Expand Down Expand Up @@ -57,7 +57,7 @@ export default function ScoreboardPage() {

<Title title="General" />

<div className="mx-auto w-full max-w-7xl overflow-x-auto px-4">
<div className="scrollbar-thin scrollbar-thumb-roboblue scrollbar-track-gray-700 mx-auto w-full max-w-7xl overflow-x-auto px-4">
<table className="min-w-full border-collapse text-white">
<colgroup>
<col />
Expand Down
2 changes: 1 addition & 1 deletion tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,5 @@ export default {
},
},
},
plugins: [require("tailwindcss-animate")],
plugins: [require("tailwindcss-animate"), require("tailwind-scrollbar")],
} satisfies Config;

0 comments on commit a749831

Please sign in to comment.