fix: doc page layout on mobile is broken

pull/639/head
Kia King Ishii 2 years ago
parent 67e77f7871
commit 68ebd43664

@ -39,6 +39,7 @@ const { hasSidebar } = useSidebar()
.VPContent { .VPContent {
flex-grow: 1; flex-grow: 1;
margin: 0 auto; margin: 0 auto;
width: 100%;
max-width: var(--vp-layout-max-width); max-width: var(--vp-layout-max-width);
} }

@ -37,6 +37,7 @@ const pageName = computed(() => {
<style scoped> <style scoped>
.VPDoc { .VPDoc {
padding: 32px 24px 96px; padding: 32px 24px 96px;
width: 100%;
} }
@media (min-width: 768px) { @media (min-width: 768px) {

Loading…
Cancel
Save