diff --git a/resources/album_carousel_album.blp b/resources/album_carousel_album.blp index a0835f9..a61ecc6 100644 --- a/resources/album_carousel_album.blp +++ b/resources/album_carousel_album.blp @@ -11,11 +11,13 @@ template $AudreyUiAlbumCarouselAlbum: Adw.Bin { margin-bottom: 6; spacing: 6; - Image { - paintable: bind template.cover_art; - pixel-size: 160; - halign: center; - hexpand: false; + AspectFrame { + child: Picture { + paintable: bind template.cover_art; + height-request: 160; + width-request: 160; + content-fit: scale_down; + }; } Box { diff --git a/resources/style.css b/resources/style.css index eb2b156..09e367d 100644 --- a/resources/style.css +++ b/resources/style.css @@ -91,7 +91,7 @@ gridview.albums child image { padding-right: 10px; } -.album-carousel listview row image { +.album-carousel listview row picture { border-radius: 3px; box-shadow: oklch(0 0 0 / 0.25) 0px 0px 3px; }