fix multiline alt texts for generic attachments (e.g. zip files) #446

Merged
Oneric merged 6 commits from Riedler/akkoma-fe:fix-attachalt into develop 2025-10-04 22:04:12 +00:00

View file

@ -16,9 +16,14 @@
.attachment-wrapper {
flex: 1 1 auto;
height: 200px;
min-height: 200px;
position: relative;
overflow: hidden;
align-content: center;
.status-popover & {
height: 200px;
}
}
.description-container {
@ -115,6 +120,22 @@
align-items: center;
justify-content: center;
padding-top: 0.5em;
p {
line-height: 1.5;
padding: 0 0.5em;
white-space: pre-line;
text-align: center;
max-height: 200px;
overflow-y: auto;
scrollbar-color: var(--border) #0000;
.status-popover & {
text-overflow: ellipsis;
overflow: hidden;
height: 1lh;
}
}
}