Skip to content

Commit

Permalink
Improve alt text form accessibility with long texts (mastodon#27095)
Browse files Browse the repository at this point in the history
  • Loading branch information
ronilaukkarinen authored Feb 26, 2024
1 parent aca6917 commit bbf6cb6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions app/javascript/styles/mastodon/components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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%;
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit bbf6cb6

Please sign in to comment.