uikit/src/utils/scrollbar.js
Mohamadzadeh 97407cffc0
All checks were successful
Build and Deploy Next.js + Nginx Docker Image / build-and-deploy (push) Successful in 52s
Build and Deploy Next.js + Nginx Docker Image / deploy (push) Successful in 7s
update utils
2026-10-19 13:30:55 +03:30

22 lines
448 B
JavaScript

export const thinScrollbar = {
scrollbarWidth: "thin",
scrollbarColor: "rgba(0,0,0,0.22) transparent",
"&::-webkit-scrollbar": {
width: "4px",
height: "4px",
},
"&::-webkit-scrollbar-track": {
background: "transparent",
},
"&::-webkit-scrollbar-thumb": {
backgroundColor: "rgba(0,0,0,0.22)",
borderRadius: "999px",
},
"&::-webkit-scrollbar-button": {
display: "none",
width: 0,
height: 0,
},
};