images in note list preview should be shrinked to fit into view, fixes #3965

This commit is contained in:
zadam 2023-05-26 10:54:08 +02:00
parent 7fc2824325
commit 611a983461

View file

@ -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);