File tree 3 files changed +4
-6
lines changed
bundles/course/reference-timelines
components/TimelinesOverview
3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ const TimelinesOverview = (props: TimelinesOverviewProps): JSX.Element => {
30
30
31
31
return (
32
32
< div className = "relative py-4" >
33
- < aside className = "flex items-start space-x-4 overflow-x-scroll pr-56" >
33
+ < aside className = "scrollbar-hidden flex items-start space-x-4 overflow-x-scroll pr-56" >
34
34
{ timelines . map ( ( timeline ) => (
35
35
< TimelinesOverviewItem
36
36
key = { timeline . id }
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ const DayView = (): JSX.Element => {
77
77
/>
78
78
</ section >
79
79
80
- < section className = "pointer-events-auto flex overflow-scroll overscroll-contain border-0 border-t border-solid border-neutral-200 pb-28 " >
80
+ < section className = "scrollbar-hidden pointer-events-auto flex h-full overflow-y- scroll overscroll-contain border-0 border-t border-solid border-neutral-200" >
81
81
< ItemsSidebar
82
82
className = "w-[32rem]"
83
83
for = { filteredItems }
@@ -89,7 +89,7 @@ const DayView = (): JSX.Element => {
89
89
90
90
< aside
91
91
ref = { contentsRef }
92
- className = "scrollbar-hidden ml-[1px] h-fit w-full overflow-x-scroll"
92
+ className = "ml-[1px] h-fit min-h-full w-full overflow-x-scroll pb-28 "
93
93
onScroll = { ( e ) : void => {
94
94
if ( e . currentTarget . scrollLeft )
95
95
calendarRef . current ?. scrollTo ( e . currentTarget . scrollLeft ) ;
Original file line number Diff line number Diff line change 20
20
/* For Firefox 64+ and Firefox for Android 64+ */
21
21
.scrollbar-hidden {
22
22
scrollbar-width : none;
23
- scrollbar-color : transparent;
24
23
}
25
24
26
25
/* For Blink- and WebKit-based browsers */
27
26
.scrollbar-hidden ::-webkit-scrollbar {
28
- width : 0 ;
29
- background : transparent;
27
+ display : none;
30
28
}
31
29
}
You can’t perform that action at this time.
0 commit comments