diff --git a/approot/artists.xml b/approot/artists.xml index a9f78e6d..335cabaf 100644 --- a/approot/artists.xml +++ b/approot/artists.xml @@ -14,9 +14,9 @@ -
+
-
+
${image class="shadow-sm"}
${name class="d-block text-center text-truncate text-decoration-none link-secondary"} diff --git a/docroot/css/lms.css b/docroot/css/lms.css index b9eed06b..23c2e981 100644 --- a/docroot/css/lms.css +++ b/docroot/css/lms.css @@ -110,6 +110,15 @@ body { cursor: pointer; } +.Lms-image-artist { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + object-fit: cover; +} + #lms-mp-progress { transition: none; } @@ -184,6 +193,18 @@ body { width: 0; } +.Lms-responsive-circle { + width: 100%; + border-radius: 50%; + overflow: hidden; +} + +.Lms-responsive-circle:after { + content: ""; + display: block; + padding-bottom: 100%; +} + .Lms-responsive-square { width: 100%; } diff --git a/src/lms/ui/explore/ArtistListHelpers.cpp b/src/lms/ui/explore/ArtistListHelpers.cpp index c7162cb7..0dadb5dc 100644 --- a/src/lms/ui/explore/ArtistListHelpers.cpp +++ b/src/lms/ui/explore/ArtistListHelpers.cpp @@ -39,7 +39,7 @@ namespace lms::ui::ArtistListHelpers else image = utils::createDefaultArtistArtworkImage(); - image->addStyleClass("Lms-cover-release Lms-cover-anchor rounded"); // hack + image->addStyleClass("Lms-image-artist Lms-cover-anchor"); // hack anchor->setImage(std::move(image)); return entry;