Skip to content

Commit 7a18330

Browse files
authored
chore: fix docs page footer broken on mobile (#6323)
Signed-off-by: thisisobate <[email protected]>
1 parent 2f209ab commit 7a18330

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

docs/stylesheets/extra.css

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -567,4 +567,58 @@ a.md-header__button.md-logo img {
567567
}
568568
}
569569

570+
@media (max-width: 1024px) {
571+
.md-header__topic {
572+
margin: 0;
573+
}
574+
575+
.md-footer-copyright {
576+
margin: auto;
577+
text-align: center;
578+
}
579+
580+
.md-social {
581+
margin: auto;
582+
}
583+
}
584+
585+
@media (max-width: 861px) {
586+
.md-footer-meta {
587+
flex-direction: column;
588+
}
589+
590+
.md-footer__title {
591+
display: block;
592+
margin-bottom: 0.5rem;
593+
}
594+
595+
.md-footer-meta__inner {
596+
flex-direction: column;
597+
align-items: center;
598+
}
599+
600+
.md-footer-copyright {
601+
order: 2;
602+
margin: 2rem;
603+
flex-wrap: wrap;
604+
}
605+
606+
.md-footer-copyright a {
607+
margin: 8px;
608+
}
609+
610+
.footer-links {
611+
display: flex;
612+
flex-direction: column;
613+
order: 1;
614+
}
615+
616+
.md-social {
617+
margin-top: 1rem;
618+
}
619+
620+
.pipe {
621+
display: none;
622+
}
623+
}
570624

0 commit comments

Comments
 (0)