fix album cover rounding

closes #17
This commit is contained in:
Erica Z 2024-12-03 16:17:16 +01:00
parent 8914cffa40
commit 60d6d94b0a
2 changed files with 8 additions and 6 deletions

View file

@ -11,11 +11,13 @@ template $AudreyUiAlbumCarouselAlbum: Adw.Bin {
margin-bottom: 6; margin-bottom: 6;
spacing: 6; spacing: 6;
Image { AspectFrame {
paintable: bind template.cover_art; child: Picture {
pixel-size: 160; paintable: bind template.cover_art;
halign: center; height-request: 160;
hexpand: false; width-request: 160;
content-fit: scale_down;
};
} }
Box { Box {

View file

@ -91,7 +91,7 @@ gridview.albums child image {
padding-right: 10px; padding-right: 10px;
} }
.album-carousel listview row image { .album-carousel listview row picture {
border-radius: 3px; border-radius: 3px;
box-shadow: oklch(0 0 0 / 0.25) 0px 0px 3px; box-shadow: oklch(0 0 0 / 0.25) 0px 0px 3px;
} }