From f491b668c671e9a6514fe6d1053ca83f353c64ef Mon Sep 17 00:00:00 2001 From: neatchee Date: Sun, 17 Nov 2024 11:42:59 -0800 Subject: [PATCH] Override column containment performance improvement for Modern styles as it broke some layout adjustments that moved elements outside of their base element bounds --- .../flavours/glitch/styles/modern-urusai-fixes.scss | 4 ++++ app/javascript/styles/modern-urusai-fixes.scss | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/app/javascript/flavours/glitch/styles/modern-urusai-fixes.scss b/app/javascript/flavours/glitch/styles/modern-urusai-fixes.scss index 188382858b8230..1ac63a5882ee69 100644 --- a/app/javascript/flavours/glitch/styles/modern-urusai-fixes.scss +++ b/app/javascript/flavours/glitch/styles/modern-urusai-fixes.scss @@ -6,6 +6,10 @@ max-width: unset !important; } +.layout-single-column .columns-area__panels__main { + contain: inline-size style !important; +} + body.app-body.flavour-glitch > #mastodon .notification__message > span, .notification__message > span > span, .status__prepend > span, diff --git a/app/javascript/styles/modern-urusai-fixes.scss b/app/javascript/styles/modern-urusai-fixes.scss index 188382858b8230..1ac63a5882ee69 100644 --- a/app/javascript/styles/modern-urusai-fixes.scss +++ b/app/javascript/styles/modern-urusai-fixes.scss @@ -6,6 +6,10 @@ max-width: unset !important; } +.layout-single-column .columns-area__panels__main { + contain: inline-size style !important; +} + body.app-body.flavour-glitch > #mastodon .notification__message > span, .notification__message > span > span, .status__prepend > span,