From 658911c268a8460440773271a96cfed34bdd896b Mon Sep 17 00:00:00 2001 From: Roni Laukkarinen Date: Mon, 26 Feb 2024 02:57:13 +0200 Subject: [PATCH] [Glitch] Improve alt text form accessibility with long texts Port bbf6cb66f63c23daea725cb2b444a7c9f6c46899 to glitch-soc Signed-off-by: Claire --- app/javascript/flavours/glitch/styles/components.scss | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/app/javascript/flavours/glitch/styles/components.scss b/app/javascript/flavours/glitch/styles/components.scss index 024911139c..4a2e1890c4 100644 --- a/app/javascript/flavours/glitch/styles/components.scss +++ b/app/javascript/flavours/glitch/styles/components.scss @@ -6504,6 +6504,7 @@ a.status-card { .report-modal__comment { box-sizing: border-box; width: 50%; + min-width: 50%; @media screen and (width <= 480px) { width: 100%; @@ -6572,6 +6573,14 @@ a.status-card { min-height: 100px; max-height: 50vh; border: 0; + + @media screen and (height <= 600px) { + max-height: 20vh; + } + + @media screen and (max-width: $no-columns-breakpoint) { + max-height: 20vh; + } } .setting-toggle {