📱 Fix docs page responsive

This commit is contained in:
LittleSheep 2024-09-28 00:36:41 +08:00
parent 7e3c3a1679
commit dc740f8538

View File

@ -62,10 +62,20 @@ useSeoMeta({
position: relative; position: relative;
} }
.docs-container { @media (min-width: 768px) {
display: flex; .docs-container {
flex-direction: row; display: flex;
gap: 1rem; flex-direction: row;
gap: 1rem;
}
}
@media (max-width: 768px) {
.docs-container {
display: flex;
flex-direction: column-reverse;
gap: 1rem;
}
} }
.docs-content { .docs-content {