From 0c759f99ef367e3bfa1698a75c0d666c4c8a909e Mon Sep 17 00:00:00 2001 From: Andrew Gioia Date: Tue, 28 Jul 2020 09:00:35 -0400 Subject: [PATCH] Fixes bottom links on iOS Safari, previously hidden by button bar there --- package.json | 2 +- src/index.html | 3 ++- src/scss/theme.scss | 7 ++++++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index eee8cf1..d001fea 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "dev": "sass --no-source-map src/scss/theme.scss dist/site.css && cp src/index.html dist/index.html && cp -R src/img dist && cp -R src/icons dist", - "prod": "sass --no-source-map src/scss/theme.scss dist/site.css && cp src/index.html dist/index.html && cp -R src/img dist && cp -R src/icons dist", + "prod": "sass --no-source-map src/scss/theme.scss dist/site.css --style compressed && cp src/index.html dist/index.html && cp -R src/img dist && cp -R src/icons dist", "watch": "sass --no-source-map --watch src/scss/theme.scss dist/site.css", "publish": "cp -R dist/* /var/www/andrewgioia.com/*" }, diff --git a/src/index.html b/src/index.html index f87f317..7a2f7d6 100644 --- a/src/index.html +++ b/src/index.html @@ -4,9 +4,10 @@ Andrew Gioia - + + diff --git a/src/scss/theme.scss b/src/scss/theme.scss index a251dfd..c4a80b1 100644 --- a/src/scss/theme.scss +++ b/src/scss/theme.scss @@ -29,12 +29,17 @@ @import "icons"; // fit and finish +html { + height: 100%; + width: 100%; +} + body { background: var(--bg-normal); display: flex; flex-direction: column; font-size: var(--font-base); - height: 100vh; + height: 100%; justify-content: space-between; overflow: hidden; width: 100vw;