Skip to content

Commit a1a7815

Browse files
Fix mobile layout for footer component
Add media query to improve footer layout on mobile devices.
1 parent 503c385 commit a1a7815

1 file changed

Lines changed: 21 additions & 1 deletion

File tree

src/css/custom.css

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2265,4 +2265,24 @@ html[data-theme="dark"] .blog-post-page .markdown h4 {
22652265

22662266
/* =====================================================
22672267
END SECTION 15
2268-
===================================================== */
2268+
===================================================== */
2269+
2270+
2271+
/* Fix mobile layout for the footer component (#1675) */
2272+
@media (max-width: 768px) {
2273+
.footer {
2274+
display: flex !important;
2275+
flex-direction: column !important;
2276+
align-items: center !important;
2277+
text-align: center !important;
2278+
}
2279+
.footer__links {
2280+
flex-direction: column !important;
2281+
align-items: center !important;
2282+
gap: 1.5rem !important;
2283+
}
2284+
.footer__col {
2285+
margin-bottom: 1rem !important;
2286+
text-align: center !important;
2287+
}
2288+
}

0 commit comments

Comments
 (0)