style(attachment): basic attachment card design

This commit is contained in:
Elian Doran 2025-12-03 18:29:49 +02:00
parent 6772453b3a
commit 276241cdff
No known key found for this signature in database

View File

@ -24,9 +24,18 @@
flex-direction: column; flex-direction: column;
} }
.attachment-title {
font-size: 1.1rem;
margin: 0;
a {
color: inherit !important;
}
}
.attachment-title-line { .attachment-title-line {
display: flex; display: flex;
align-items: baseline; align-items: center;
gap: 1em; gap: 1em;
} }
@ -61,6 +70,13 @@
height: 100%; height: 100%;
} }
.attachment-detail-wrapper.list-view {
border-radius: 12px;
background-color: var(--card-background-color);
padding: 0 6px;
box-shadow: var(--card-box-shadow);
}
.attachment-detail-wrapper.list-view .attachment-content-wrapper pre { .attachment-detail-wrapper.list-view .attachment-content-wrapper pre {
max-height: 400px; max-height: 400px;
padding: 0; padding: 0;