📱 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,11 +62,21 @@ useSeoMeta({
position: relative; position: relative;
} }
@media (min-width: 768px) {
.docs-container { .docs-container {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
gap: 1rem; gap: 1rem;
} }
}
@media (max-width: 768px) {
.docs-container {
display: flex;
flex-direction: column-reverse;
gap: 1rem;
}
}
.docs-content { .docs-content {
flex: 1 360px; flex: 1 360px;