diff --git a/components/Sidebar.tsx b/components/Sidebar.tsx index 6ccab6f..a81bed7 100644 --- a/components/Sidebar.tsx +++ b/components/Sidebar.tsx @@ -28,70 +28,75 @@ const Sidebar = (props: { showSidebar: boolean }) => { News -
- - - Campaign Coverage - - - - - Israel-Hamas War - - +
+
+ + + Campaign Coverage + + + + + Israel-Hamas War + + +
+ right-arrow
- right-arrow
Features -
- - - VOICES - - - - 9/11 - +
+
+ + + VOICES + + + + 9/11 + +
+ right-arrow
- right-arrow
Opinions -
- - - Staff Editorials - - +
+
+ + + Staff Editorials + + +
+ right-arrow
- right-arrow
- Science @@ -100,107 +105,113 @@ const Sidebar = (props: { showSidebar: boolean }) => { Arts & Entertainment -
- - Fashion - - - Art - - - Culture - - - Film - - - Food - - - - Literature - - - - Music - - - - Television - - - - Theater - - - - Thinkpiece - - - - Sing! - - - STC! - +
+
+ + Fashion + + + Art + + + Culture + + + Film + + + Food + + + + Literature + + + + Music + + + + Television + + + + Theater + + + + Thinkpiece + + + + Sing! + + + STC! + +
+ right-arrow
- right-arrow
Humor -
- - - Disrespectator - - - - - Spooktator - - +
+
+ + + Disrespectator + + + + + Spooktator + + +
+ right-arrow
- right-arrow
Sports -
- - - Professional Sports - - - - - Sports At Stuy - - +
+
+ + + Professional Sports + + + + + Sports At Stuy + + +
+ right-arrow
- right-arrow
diff --git a/styles/Sidebar.module.css b/styles/Sidebar.module.css index dcbec8e..b39302a 100644 --- a/styles/Sidebar.module.css +++ b/styles/Sidebar.module.css @@ -14,8 +14,15 @@ font-family: var(--secondary-font); padding-bottom: 10px; color: var(--primary-immutable); + overflow-y: auto; + -ms-overflow-style: none; + scrollbar-width: none; } +.sidebar::-webkit-scrollbar { + display: none; + } + #sidebar span { margin-top: 5px; margin-bottom: 5px; @@ -28,6 +35,12 @@ justify-content: center; } +.subdepartment_wrapper { + position: absolute; + left: 100%; + /* top: 47px; */ +} + .subdepartment { position: absolute; left: 100%; @@ -94,7 +107,7 @@ #right_arrow { position: absolute; margin-top: 0.8rem; - margin-left: 220px; + margin-left: -20px; } .department:hover #right_arrow {