Skip to content

Commit

Permalink
Data view list layout: Fix thumbnail dimensions (#57774)
Browse files Browse the repository at this point in the history
  • Loading branch information
jameskoster authored Jan 12, 2024
1 parent e7128cd commit 55b4e9b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/dataviews/src/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -335,11 +335,18 @@
}

.dataviews-view-list__media-wrapper {
min-width: $grid-unit-40;
width: $grid-unit-40;
height: $grid-unit-40;
border-radius: $grid-unit-05;
overflow: hidden;
position: relative;
flex-shrink: 0;

img {
width: 100%;
height: 100%;
object-fit: cover;
}

&::after {
content: "";
Expand Down

0 comments on commit 55b4e9b

Please sign in to comment.