style(releases): scope gallery container with ::deep, move card radius to cover, narrow mix hero to 480px

This commit is contained in:
daniel-c-harvey
2026-06-17 05:46:40 -04:00
parent cf47fee07e
commit d105385006
2 changed files with 3 additions and 3 deletions
@@ -1,4 +1,4 @@
.release-gallery-container {
::deep .release-gallery-container {
padding-top: 16px;
}
@@ -18,7 +18,6 @@
flex-direction: column;
width: 200px;
cursor: pointer;
border-radius: 8px;
overflow: hidden;
transition: transform 120ms ease;
}
@@ -30,6 +29,7 @@
.release-card-cover {
width: 200px;
height: 200px;
border-radius: 8px;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
@@ -10,7 +10,7 @@
.release-hero <div> (a child Razor component's native output), so ::deep is required to reach it. */
::deep .release-hero.mix-hero {
aspect-ratio: 1 / 1;
max-width: 600px;
max-width: 480px;
min-height: 0;
max-height: none;
margin-inline: auto;