From d9452ca8d24ab78992ed81809be045eb7c682d83 Mon Sep 17 00:00:00 2001 From: Spedon <70063177+Sped0n@users.noreply.github.com> Date: Sat, 20 Jan 2024 16:46:10 +0800 Subject: [PATCH] fix: prevent page scrolling when in mobile modal (#238) * fix: import `_partial/container.scss` in `style.scss` - Add import for `_partial/container.scss` in `style.scss` * chore: ignore CSS map files in .gitignore - Added a new entry for `*.css.map` to the .gitignore file * chore: update dependabot interval to weekly - Update the interval of the dependabot from daily to weekly. * fix: try to fix safari floating address bar issue * fix: try again with svh --- .github/dependabot.yml | 2 +- .gitignore | 5 ++++- assets/scss/_variables.scss | 2 +- assets/scss/style.scss | 1 + 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index cc1f409..019fb89 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -8,5 +8,5 @@ updates: - package-ecosystem: 'npm' # See documentation for possible values directory: '/' # Location of package manifests schedule: - interval: 'daily' + interval: 'weekly' open-pull-requests-limit: 1000 diff --git a/.gitignore b/.gitignore index 4b7c8d9..87d4b53 100644 --- a/.gitignore +++ b/.gitignore @@ -21,4 +21,7 @@ $RECYCLE.BIN/ # Hugo .hugo_build.lock -jsconfig.json \ No newline at end of file +jsconfig.json + +# css map +*.css.map diff --git a/assets/scss/_variables.scss b/assets/scss/_variables.scss index b126326..6a93c44 100644 --- a/assets/scss/_variables.scss +++ b/assets/scss/_variables.scss @@ -1,7 +1,7 @@ @import '_core/mixins'; :root { - --window-height: 100vh; + --window-height: 100svh; --nav-height: 2rem; --space-standard: 0.625rem; diff --git a/assets/scss/style.scss b/assets/scss/style.scss index d3ded43..053b88d 100644 --- a/assets/scss/style.scss +++ b/assets/scss/style.scss @@ -6,5 +6,6 @@ @import '_partial/collection'; @import '_partial/gallery'; +@import '_partial/container'; @import 'node_modules/swiper/swiper.scss';