File tree Expand file tree Collapse file tree 3 files changed +25
-3
lines changed
apps/insights/src/components/Root
packages/component-library/src Expand file tree Collapse file tree 3 files changed +25
-3
lines changed Original file line number Diff line number Diff line change 1212 .topContent {
1313 display : flex ;
1414 gap : theme .spacing (6 );
15-
15+
1616 // SM
1717 flex-flow : row nowrap ;
1818 align-items : center ;
1919 justify-content : space-between ;
2020
21+ @media screen and (max-width : theme .breakpoint (" sm" )) {
22+ flex-flow : column nowrap ;
23+ align-items : flex-start ;
24+ }
25+
2126 @include theme .max-width ;
2227
2328 // XL
24- margin-bottom : theme .spacing (12 );
29+ margin-bottom : theme .spacing (6 );
2530
2631 // py-6
2732
9196 flex-flow : row nowrap ;
9297 justify-content : space-between ;
9398
99+ @media screen and (max-width : theme .breakpoint (" sm" )) {
100+ flex-flow : column nowrap ;
101+ align-items : flex-start ;
102+ }
103+
94104 // "flex-col
95105
96106 @include theme .max-width ;
Original file line number Diff line number Diff line change 6363 }
6464 }
6565
66- @media screen and (min-width : theme .$max-width + (2 * (theme .spacing (9 ) + theme .spacing (8 ) + theme .spacing (7 )))) {
66+ @media screen and (min-width : #{ theme .$max-width + (2 * (theme .spacing (9 ) + theme .spacing (8 ) + theme .spacing (7 )))} ) {
6767 .leftMenu {
6868 margin-left : - #{theme .spacing (9 ) + theme .spacing (7 )} ;
6969
Original file line number Diff line number Diff line change @@ -80,6 +80,18 @@ $border-radius: (
8080 @return map-get-strict ($border-radius , $radius );
8181}
8282
83+ $brakpoints : (
84+ " sm" : 480px ,
85+ " md" : 768px ,
86+ " lg" : 1024px ,
87+ " xl" : 1280px ,
88+ " 2xl" : 1536px ,
89+ );
90+
91+ @function breakpoint ($breakpoint ) {
92+ @return map-get-strict ($brakpoints , $breakpoint );
93+ }
94+
8395$color-pallette : (
8496 " black" : #000 ,
8597 " white" : #fff ,
You can’t perform that action at this time.
0 commit comments