diff options
author | kimsible <kimsible@users.noreply.github.com> | 2020-07-13 23:51:46 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-07-23 14:32:04 +0200 |
commit | 8110705d020a0025ce307a9c8ee5ba9bfe8e9323 (patch) | |
tree | c90d6f4e3dfacb92ccfba8cf00b6980b39fd9b69 /client/src/sass/application.scss | |
parent | 2291a412d25bd139398ca9e7a5131d0c1e4ffd7d (diff) | |
download | PeerTube-8110705d020a0025ce307a9c8ee5ba9bfe8e9323.tar.gz PeerTube-8110705d020a0025ce307a9c8ee5ba9bfe8e9323.tar.zst PeerTube-8110705d020a0025ce307a9c8ee5ba9bfe8e9323.zip |
Fix: disable vertical scroll instead of hide on desktop browsers
Diffstat (limited to 'client/src/sass/application.scss')
-rw-r--r-- | client/src/sass/application.scss | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss index 4f753e041..5ca3b447a 100644 --- a/client/src/sass/application.scss +++ b/client/src/sass/application.scss | |||
@@ -57,6 +57,10 @@ body { | |||
57 | color: pvar(--mainForegroundColor); | 57 | color: pvar(--mainForegroundColor); |
58 | background-color: pvar(--mainBackgroundColor); | 58 | background-color: pvar(--mainBackgroundColor); |
59 | font-size: 14px; | 59 | font-size: 14px; |
60 | // On desktop browsers, make sure vertical scroll bar is always visible | ||
61 | // Allow to disable the scrollbar instead of hide it when the content fit the body | ||
62 | // And not move the content and header horizontally sticked to right when the content is updating | ||
63 | overflow-y: scroll; | ||
60 | } | 64 | } |
61 | 65 | ||
62 | ::selection { | 66 | ::selection { |