about summary refs log tree commit diff
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-07-23 15:47:18 +0200
committerEugen Rochko <eugen@zeonfederated.com>2019-07-23 15:47:18 +0200
commitfb1b710e8ddc800f930f7b2de9a10b716f091abd (patch)
treee8a8ee1a6a4e5e135e91f192ea0c5ac356c83003
parent1955aa9f7da8c72312aaafde3142b5ba910d2d0d (diff)
Fix scrolling in single-column mode on Chrome (#11395)
Fixes #11389
-rw-r--r--app/javascript/styles/mastodon/components.scss4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss
index 4eb4e78d6..54442e007 100644
--- a/app/javascript/styles/mastodon/components.scss
+++ b/app/javascript/styles/mastodon/components.scss
@@ -2015,6 +2015,10 @@ a.account__display-name {
 
   .scrollable {
     overflow: visible;
+
+    @supports(display: grid) {
+      contain: content;
+    }
   }
 
   @media screen and (min-width: $no-gap-breakpoint) {