mirror of
https://github.com/zadam/trilium.git
synced 2025-03-13 00:05:15 +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
|
@ -31,6 +31,11 @@ const TPL = `
|
|||
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;
|
||||
border: 1px solid var(--main-border-color);
|
||||
|
|
Loading…
Reference in a new issue