From 81b6ffa8f1e1f06d110ceba6a71b9e299614ce48 Mon Sep 17 00:00:00 2001 From: ThibG Date: Tue, 23 Jul 2019 15:47:18 +0200 Subject: [PATCH] [Glitch] Fix scrolling in single-column mode on Chrome Port fb1b710e8ddc800f930f7b2de9a10b716f091abd to glitch-soc Signed-off-by: Thibaut Girka --- .../flavours/glitch/styles/components/single_column.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/javascript/flavours/glitch/styles/components/single_column.scss b/app/javascript/flavours/glitch/styles/components/single_column.scss index fdee67ed166..fd99ffaa21a 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) {