Improved scene page poster and album scaling.

This commit is contained in:
2024-03-19 21:38:08 +01:00
parent 69a571e652
commit 9b50b53df6
4 changed files with 14 additions and 11 deletions

View File

@@ -246,12 +246,12 @@ async function unstash() {
.banner-container {
background-position: center;
background-size: cover;
border-radius: .5rem .5rem 0 0;
border-radius: .25rem .5rem 0 0;
margin-top: .5rem;
}
.banner {
max-height: 18rem;
max-height: 21rem;
border-radius: .5rem .5rem 0 0;
display: flex;
font-size: 0;
@@ -260,16 +260,14 @@ async function unstash() {
}
.poster-container {
flex-shrink: 0;
padding: .5rem;
max-height: 18rem;
}
.poster {
height: auto;
max-height: 100%;
width: auto;
max-width: 100%;
border-radius: .5rem;
height: 100%;
width: 100%;
border-radius: .25rem;
}
.poster,
@@ -465,6 +463,7 @@ async function unstash() {
.poster-container {
padding: 0;
border-radius: 0;
flex-shrink: 1;
}
.poster {