Skip to content

Commit 114616d

Browse files
committed
Permanently removing custom css for sidebar scroll
1 parent 3d8dc29 commit 114616d

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

app/dashboard/_components/Sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default function Sidebar() {
1010
// SIDEBAR COLLAPSE VARIABLE
1111
const { toggleCollapse } = useSidebarToggle();
1212
const sidebarContainerStyle = classNames(
13-
"sidebar overflow-y-auto overflow-x-auto fixed bg-[#31353d] text-gray-500 z-50 h-full shadow-lg shadow-gray-900/20 transition duration-300 ease-in-out w-[20rem]",
13+
"overflow-y-auto overflow-x-auto fixed bg-[#31353d] text-gray-500 z-50 h-full shadow-lg shadow-gray-900/20 transition duration-300 ease-in-out w-[20rem]",
1414
{
1515
["sm:w-[5rem] sm:left-0 left-[-100%]"]: toggleCollapse,
1616
["w-[20rem]"]: !toggleCollapse,

app/globals.css

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,3 @@
2121
white-space: normal;
2222
}
2323
}
24-
25-
.sidebar {
26-
scrollbar-width: thin;
27-
scrollbar-color: #999999 transparent;
28-
}
29-
.sidebar:: -webkit-scrollbar {
30-
background: transparent;
31-
width: 3px;
32-
}
33-
.sidebar::-webkit-scrollbar-thumb {
34-
background: #999999;
35-
border-radius: 10px;
36-
}

0 commit comments

Comments
 (0)