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

View file

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