From af0bfbe8557182fa23083b8a4060625b18132c92 Mon Sep 17 00:00:00 2001 From: BeADre Date: Mon, 8 Nov 2021 18:16:32 +0800 Subject: [PATCH] fix(site): modify the width of nav --- packages/varlet-cli/site/pc/App.vue | 5 ++--- packages/varlet-cli/site/pc/components/AppSidebar.vue | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/varlet-cli/site/pc/App.vue b/packages/varlet-cli/site/pc/App.vue index 11caba18a6e..a790f1c9c20 100644 --- a/packages/varlet-cli/site/pc/App.vue +++ b/packages/varlet-cli/site/pc/App.vue @@ -209,14 +209,14 @@ iframe { display: flex; background: var(--site-config-color-body); margin-top: 60px; - margin-left: 220px; + margin-left: 240px; } &-doc-container { flex: 1 0 0; overflow-y: auto; min-width: 500px; - padding: 0 30px; + padding: 0 25px; overflow-x: hidden; &::-webkit-scrollbar { @@ -354,7 +354,6 @@ iframe { .card { margin-bottom: 24px; - padding: 0 4px; } } } diff --git a/packages/varlet-cli/site/pc/components/AppSidebar.vue b/packages/varlet-cli/site/pc/components/AppSidebar.vue index 49383dcf3fa..fdaa253dc57 100644 --- a/packages/varlet-cli/site/pc/components/AppSidebar.vue +++ b/packages/varlet-cli/site/pc/components/AppSidebar.vue @@ -71,7 +71,7 @@ export default { .varlet-site-sidebar { padding: 0 0 15px; position: fixed; - width: 220px; + width: 240px; top: 60px; bottom: 0; left: 0;