mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
images in note list preview should be shrinked to fit into view, fixes #3965
This commit is contained in:
parent
7fc2824325
commit
611a983461
@ -30,6 +30,11 @@ const TPL = `
|
|||||||
.note-list.grid-view .note-book-card {
|
.note-list.grid-view .note-book-card {
|
||||||
max-height: 300px;
|
max-height: 300px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.note-list.grid-view .note-book-card img {
|
||||||
|
max-height: 220px;
|
||||||
|
object-fit: contain;
|
||||||
|
}
|
||||||
|
|
||||||
.note-list.grid-view .note-book-card:hover {
|
.note-list.grid-view .note-book-card:hover {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user