about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/styles
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-07-23 15:47:18 +0200
committerThibaut Girka <thib@sitedethib.com>2019-10-05 22:53:20 +0200
commit81b6ffa8f1e1f06d110ceba6a71b9e299614ce48 (patch)
treee90be6de6257b19fb38df86ca91313081175cd2c /app/javascript/flavours/glitch/styles
parent9e2e623ebe25b8e58a6c8f4bf947015481f10c66 (diff)
[Glitch] Fix scrolling in single-column mode on Chrome
Port fb1b710e8ddc800f930f7b2de9a10b716f091abd to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/styles')
-rw-r--r--app/javascript/flavours/glitch/styles/components/single_column.scss4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/styles/components/single_column.scss b/app/javascript/flavours/glitch/styles/components/single_column.scss
index fdee67ed1..fd99ffaa2 100644
--- a/app/javascript/flavours/glitch/styles/components/single_column.scss
+++ b/app/javascript/flavours/glitch/styles/components/single_column.scss
@@ -129,6 +129,10 @@
 
   .scrollable {
     overflow: visible;
+
+    @supports(display: grid) {
+      contain: content;
+    }
   }
 
   @media screen and (min-width: $no-gap-breakpoint) {