aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortaehoon <th.dev91@gmail.com>2019-07-19 12:50:21 -0400
committertaehoon <th.dev91@gmail.com>2019-09-20 11:35:47 -0400
commit92be5a68776633b166323108dd34216eaae20753 (patch)
tree479497871d8ba502df76f9aecdc48dd940c3ef15 /src
parentae70439447d029e5f9e2fcd558dc198bff47c89b (diff)
Reserve scrollbar gap when body scroll is locked
Diffstat (limited to 'src')
-rw-r--r--src/App.scss4
1 files changed, 3 insertions, 1 deletions
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;