Skip to content

Commit 868e69c

Browse files
fix: footer mobile layout stacking
1 parent 5111961 commit 868e69c

1 file changed

Lines changed: 25 additions & 1 deletion

File tree

src/css/custom.css

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2566,4 +2566,28 @@ html[data-theme="dark"] .blog-post-page .markdown h4 {
25662566
content: none !important;
25672567
display: none !important;
25682568
}
2569-
}
2569+
}
2570+
2571+
@media screen and (max-width: 768px) {
2572+
.footer,
2573+
footer.footer {
2574+
display: flex !important;
2575+
flex-direction: column !important;
2576+
align-items: center !important;
2577+
text-align: center !important;
2578+
}
2579+
2580+
.footer__links,
2581+
.footer__links.row {
2582+
display: flex !important;
2583+
flex-direction: column !important;
2584+
width: 100% !important;
2585+
}
2586+
2587+
.footer__col,
2588+
.footer__col.col {
2589+
max-width: 100% !important;
2590+
flex-basis: 100% !important;
2591+
margin-bottom: 1.5rem !important;
2592+
}
2593+
}

0 commit comments

Comments
 (0)