mirror of
https://github.com/zadam/trilium.git
synced 2025-03-12 15:56:26 +08:00
images in note list preview should be shrinked to fit into view, fixes #3965
This commit is contained in:
parent
7fc2824325
commit
611a983461
1 changed files with 5 additions and 0 deletions
|
@ -30,6 +30,11 @@ const TPL = `
|
|||
.note-list.grid-view .note-book-card {
|
||||
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 {
|
||||
cursor: pointer;
|
||||
|
|
Loading…
Reference in a new issue