From f0b90dec4931a4f1ea1e8296b4ad15ba0158b032 Mon Sep 17 00:00:00 2001 From: wujunyi Date: Wed, 9 Nov 2022 16:30:47 +0800 Subject: [PATCH] fix: remove unless scroll-x style --- .gitignore | 4 ++++ scss/styles.scss | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 9f4d4d11..879f1f57 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,7 @@ package-lock.json +pnpm-lock.yaml dist/ data.json +node_modules +.idea +.vscode diff --git a/scss/styles.scss b/scss/styles.scss index bb9b2de9..cd1f0ec0 100755 --- a/scss/styles.scss +++ b/scss/styles.scss @@ -19,7 +19,7 @@ body { margin: 0; padding: 0; -webkit-font-smoothing: antialiased; - width: 100vw; + width: 100%; } *, @@ -234,7 +234,7 @@ a:hover { .apps_loop { grid-template-columns: 1fr 1fr 1fr; - width: 100vw; + width: 100%; } #links_loop { @@ -258,7 +258,7 @@ a:hover { grid-column-gap: 0px; grid-row-gap: 0px; grid-template-columns: 1fr 1fr; - width: 100vw; + width: 100%; } #links_loop {