File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -379,6 +379,22 @@ li.L9 {
379379 }
380380}
381381
382+ /* On mobile, change the layout to stack the icon on top */
383+ @media (max-width : 991px ) { /* Mobile breakpoint */
384+ .flex-column-mobile {
385+ flex-direction : column !important ; /* Stack the icon on top of the text */
386+ align-items : center; /* Center-align the text */
387+ }
388+ }
389+
390+ /* On larger screens, the default horizontal layout will be kept */
391+ @media (min-width : 992px ) { /* Desktop breakpoint */
392+ .flex-column-mobile {
393+ flex-direction : row !important ; /* Keep the icon to the left of the text */
394+ align-items : center; /* Keep text centered vertically */
395+ }
396+ }
397+
382398
383399@media only screen and (max-width : 640px ){
384400
You can’t perform that action at this time.
0 commit comments