Skip to content

Commit 0284632

Browse files
updated scrollbar
1 parent f46f4e8 commit 0284632

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

src/App.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1020,7 +1020,7 @@ export default function App() {
10201020
<span>{new Date(h.at).toLocaleDateString()}</span>
10211021
</div>
10221022
</div>
1023-
<div className="text-md opacity-70 flex-shrink-0 ml-2 text-amber-500">view &gt;</div>
1023+
<div className="text-md font-semibold opacity-70 flex-shrink-0 ml-2 text-green-400">view &gt;</div>
10241024
</div>
10251025
))
10261026
)}

src/index.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,18 @@
9191
animation: celebrationPulse 2s ease-in-out infinite;
9292
}
9393

94+
::-webkit-scrollbar {
95+
width: 3px; /* Adjust as needed for the desired thinness */
96+
background: transparent; /* Makes the overall scrollbar transparent */
97+
}
98+
::-webkit-scrollbar-track {
99+
background: transparent; /* Makes the scrollbar track transparent */
100+
}
101+
::-webkit-scrollbar-thumb {
102+
background-color: rgba(211, 211, 211, 0.378);
103+
border-radius: 2px;
104+
}
105+
106+
::-webkit-scrollbar-button {
107+
display: none; /* Hides the scrollbar buttons */
108+
}

0 commit comments

Comments
 (0)