Merge pull request 'fix multiline alt texts for generic attachments (e.g. zip files)' (#446) from Riedler/akkoma-fe:fix-attachalt into develop
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending

Reviewed-on: #446
Reviewed-by: Oneric <oneric@noreply.akkoma>
This commit is contained in:
Oneric 2025-10-04 22:04:11 +00:00
commit 37ce8352a9

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;
}
}
}