File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33html {
44 background : var (--background-color );
5+ scroll-behavior : smooth;
56}
67body {
78 color : var (--primary-text-color );
9495 gap : 12px ;
9596 padding : 1% ;
9697 position : relative;
97- overflow : hidden;
98+ overflow-y : hidden;
9899 padding-bottom : 12px ;
100+ scroll-snap-type : x mandatory;
99101}
102+
103+ .HorizontalScroll {
104+ -ms-overflow-style : none;
105+ scrollbar-width : none;
106+ }
107+ .HorizontalScroll ::-webkit-scrollbar {
108+ display : none;
109+ }
110+
100111.extras {
101112
102113 flex-direction : row;
@@ -189,13 +200,15 @@ a {
189200 height : 78vh ;
190201 width : 10vw ;
191202 flex : 0 0 auto;
203+ scroll-snap-align : start;
192204}
193205.blockContent {
194206 flex-grow : 1 ;
195207 overflow-y : auto;
196208 display : flex;
197209 flex-direction : column;
198210 overflow-x : hidden;
211+ scroll-snap-type : y mandatory;
199212 height : calc (80vh - 1% - 46px );
200213}
201214
263276}
264277
265278.blockRow {
279+ scroll-snap-align : start;
266280 padding : 8px 16px ;
267281 position : relative;
268282}
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ export const AppContentLayout = ({
1515
1616 return (
1717 < >
18- < main className = "AppContent scrollable " >
18+ < main className = "AppContent HorizontalScroll " >
1919 { isDesktop ? < DesktopCards cards = { cards } /> : < MobileCards selectedCard = { selectedCard } /> }
2020 </ main >
2121
You can’t perform that action at this time.
0 commit comments