mirror of
https://github.com/zadam/trilium.git
synced 2025-12-03 22:14:24 +01:00
style(attachment): basic attachment card design
This commit is contained in:
parent
6772453b3a
commit
276241cdff
@ -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;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user