We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 115f7ab commit e14e19aCopy full SHA for e14e19a
1 file changed
css/styles.css
@@ -379,6 +379,22 @@ li.L9 {
379
}
380
381
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
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
398
399
@media only screen and (max-width: 640px){
400
0 commit comments