diff --git a/apps/client/src/stylesheets/theme-next/base.css b/apps/client/src/stylesheets/theme-next/base.css index b896d4e56..7e886d432 100644 --- a/apps/client/src/stylesheets/theme-next/base.css +++ b/apps/client/src/stylesheets/theme-next/base.css @@ -748,11 +748,6 @@ li.dropdown-item a.dropdown-item-button:focus-visible { filter: contrast(105%); } -.note-list.grid-view .note-book-card img { - object-fit: cover !important; - width: 100%; -} - .note-list.grid-view .ck-content { line-height: 1.3; } diff --git a/apps/client/src/widgets/collections/legacy/ListOrGridView.css b/apps/client/src/widgets/collections/legacy/ListOrGridView.css index 2a6b25366..c6b21c0b1 100644 --- a/apps/client/src/widgets/collections/legacy/ListOrGridView.css +++ b/apps/client/src/widgets/collections/legacy/ListOrGridView.css @@ -75,6 +75,7 @@ justify-content: center; text-align: center; padding: 10px; + flex-grow: 1; } .note-book-content.type-image img, .note-book-content.type-canvas svg { @@ -141,4 +142,4 @@ border: 1px solid var(--main-border-color); background: var(--more-accented-background-color); } -/* #endregion */ \ No newline at end of file +/* #endregion */