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

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