diff options
| author | Shpuld Shpludson <shp@cock.li> | 2021-02-22 15:14:23 +0000 |
|---|---|---|
| committer | Shpuld Shpludson <shp@cock.li> | 2021-02-22 15:14:23 +0000 |
| commit | 3d013630aee48863cda5ece9ddf9a291703eb1af (patch) | |
| tree | 04821cfc110ac5361f9955252a67540be6234836 /src/App.scss | |
| parent | 589ab6510c1effc909ee9f6b64cd7791d3f55ee7 (diff) | |
| parent | c7018057f1df52edd2f02c4cf101e5dccf8d633c (diff) | |
Merge branch 'fix/scroll-lock-jumpiness' into 'develop'
Fix some UI jumpiness on scroll lock
See merge request pleroma/pleroma-fe!1343
Diffstat (limited to 'src/App.scss')
| -rw-r--r-- | src/App.scss | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/App.scss b/src/App.scss index 8b91f3de..90d083bb 100644 --- a/src/App.scss +++ b/src/App.scss @@ -586,6 +586,7 @@ nav { color: var(--faint, $fallback--faint); box-shadow: 0px 0px 4px rgba(0,0,0,.6); box-shadow: var(--topBarShadow); + box-sizing: border-box; } .fade-enter-active, .fade-leave-active { @@ -878,6 +879,11 @@ nav { overflow: hidden; height: 100%; + // Get rid of scrollbar on body as scrolling happens on different element + body { + overflow: hidden; + } + // Ensures the fixed position of the mobile browser bars on scroll up / down events. // Prevents the mobile browser bars from overlapping or hiding the message posting form. @media all and (max-width: 800px) { |
