mirror of
https://github.com/zadam/trilium.git
synced 2026-01-06 14:44:25 +01:00
style(attachment): improve paddings & margins, remove scroll for image
This commit is contained in:
parent
00a1a63d7e
commit
27c3d4da3c
@ -78,7 +78,7 @@
|
|||||||
.attachment-detail-wrapper.list-view {
|
.attachment-detail-wrapper.list-view {
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
background-color: var(--card-background-color);
|
background-color: var(--card-background-color);
|
||||||
padding: 6px 6px 0 6px;
|
padding: 6px;
|
||||||
box-shadow: var(--card-box-shadow);
|
box-shadow: var(--card-box-shadow);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -87,10 +87,6 @@
|
|||||||
padding: 0;
|
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 {
|
.attachment-detail-wrapper.list-view .attachment-content-wrapper img, .attachment-detail-wrapper.list-view .attachment-content-wrapper video {
|
||||||
max-height: 300px;
|
max-height: 300px;
|
||||||
max-width: 90%;
|
max-width: 90%;
|
||||||
@ -107,7 +103,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.attachment-detail-wrapper .attachment-deletion-warning {
|
.attachment-detail-wrapper .attachment-deletion-warning {
|
||||||
margin-top: 15px;
|
margin: 0.5em 0;
|
||||||
}
|
}
|
||||||
/* #endregion */
|
/* #endregion */
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user