File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9090}
9191
9292.AppContent {
93+ position : relative;
94+ overflow-y : hidden;
95+ padding-bottom : 12px ;
96+ }
97+ .Cards {
98+ padding : 1% ;
9399 flex : 1 1 auto;
94100 display : flex;
95101 gap : 12px ;
96- padding : 1% ;
97102 position : relative;
98103 overflow-y : hidden;
99- padding-bottom : 12px ;
100104 scroll-snap-type : x mandatory;
101105}
102-
103106.HorizontalScroll {
104107 -ms-overflow-style : none;
105108 scrollbar-width : none;
@@ -699,10 +702,6 @@ Producthunt item
699702 font-size : 14px ;
700703}
701704
702- .test3 {
703- flex-direction : column;
704- }
705-
706705.bottomNavigation {
707706 display : none;
708707 flex-grow : 1 ;
@@ -723,6 +722,9 @@ Producthunt item
723722 height : 100% ;
724723 line-height : 56px ;
725724 font-size : 24px ;
725+ margin : 0 ;
726+ border : none;
727+ background : none;
726728}
727729.navigationItem img {
728730 width : 18px ;
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ export const DesktopCards = ({
2323 < SortableList
2424 as = "div"
2525 onSortEnd = { onSortEnd }
26- className = "AppContent HorizontalScroll"
26+ className = "Cards HorizontalScroll"
2727 draggedItemClassName = "draggedBlock" >
2828 { cards
2929 . sort ( ( a , b ) => a . id - b . id )
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ export const ScrollCardsNavigator = () => {
3131 } , [ ] )
3232
3333 useLayoutEffect ( ( ) => {
34- scrollBarContainer . current = document . querySelector ( '.AppContent div ' )
34+ scrollBarContainer . current = document . querySelector ( '.Cards ' )
3535 } , [ ] )
3636
3737 useEffect ( ( ) => {
You can’t perform that action at this time.
0 commit comments