summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoni Laukkarinen <roni@dude.fi>2024-02-26 02:57:13 +0200
committerGitHub <noreply@github.com>2024-02-26 00:57:13 +0000
commitbbf6cb66f63c23daea725cb2b444a7c9f6c46899 (patch)
tree2f550e024e9ed6ef4f522f1e07950b99e490aca9
parentaca691726b036af0d180ef2c31d7fa607c1505c3 (diff)
Improve alt text form accessibility with long texts (#27095)
-rw-r--r--app/javascript/styles/mastodon/components.scss9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss
index 2e5db497db3..46fda2033d9 100644
--- a/app/javascript/styles/mastodon/components.scss
+++ b/app/javascript/styles/mastodon/components.scss
@@ -5965,6 +5965,7 @@ a.status-card {
.report-modal__comment {
box-sizing: border-box;
width: 50%;
+ min-width: 50%;
@media screen and (width <= 480px) {
width: 100%;
@@ -6033,6 +6034,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 {