Various small fixes #459

Merged
Oneric merged 4 commits from Oneric/akkoma-fe:varfixes-20251018 into develop 2025-10-24 18:56:42 +00:00
2 changed files with 1 additions and 5 deletions
Showing only changes of commit f0c149950c - Show all commits

Fix image attachments overflowing their container

This reverts commit e1b4d8f59a
and obsoletes commit c2db0e66ef
which already unset min-height in notifications where this
caused images to become effectively invisible.

Image previews are currently designed to always show the full image
scaled down as needed. With min-height though they were allowed to
take the full width even if it caused overflows in vertical direction.
This happened to look kind of fine with only easy-to-miss overflows
in the main post view if each preview row had the same amount of
columns, but creates jarring overlaps otherwise.

Fixes: #456
Oneric 2025-10-18 02:57:01 +02:00

View file

@ -16,7 +16,7 @@
.attachment-wrapper {
flex: 1 1 auto;
min-height: 200px;
height: 200px;
position: relative;
overflow: hidden;
align-content: center;

View file

@ -101,8 +101,4 @@
color: $fallback--cBlue;
color: var(--cBlue, $fallback--cBlue);
}
.attachment-wrapper {
min-height: unset;
}
}