style(attachment): improve paddings & margins, remove scroll for image

This commit is contained in:
Elian Doran 2025-12-25 11:28:51 +02:00
parent 00a1a63d7e
commit 27c3d4da3c
No known key found for this signature in database

View File

@ -78,7 +78,7 @@
.attachment-detail-wrapper.list-view {
border-radius: 12px;
background-color: var(--card-background-color);
padding: 6px 6px 0 6px;
padding: 6px;
box-shadow: var(--card-box-shadow);
}
@ -87,10 +87,6 @@
padding: 0;
}
.attachment-content-wrapper img {
margin: 10px;
}
.attachment-detail-wrapper.list-view .attachment-content-wrapper img, .attachment-detail-wrapper.list-view .attachment-content-wrapper video {
max-height: 300px;
max-width: 90%;
@ -107,7 +103,7 @@
}
.attachment-detail-wrapper .attachment-deletion-warning {
margin-top: 15px;
margin: 0.5em 0;
}
/* #endregion */