From 92be5a68776633b166323108dd34216eaae20753 Mon Sep 17 00:00:00 2001 From: taehoon Date: Fri, 19 Jul 2019 12:50:21 -0400 Subject: [PATCH] Reserve scrollbar gap when body scroll is locked --- src/App.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/App.scss b/src/App.scss index 1f0b2619..3914cec2 100644 --- a/src/App.scss +++ b/src/App.scss @@ -10,7 +10,8 @@ position: fixed; z-index: -1; height: 100%; - width: 100%; + left: 0; + right: -20px; background-size: cover; background-repeat: no-repeat; background-position: 0 50%; @@ -351,6 +352,7 @@ i[class*=icon-] { align-items: center; position: fixed; height: 50px; + box-sizing: border-box; .logo { display: flex;