fixed scale on cards, card text is now centered

This commit is contained in:
booploops 2022-06-14 04:46:10 -07:00
parent 196001832d
commit 7435d4e251

View file

@ -1059,7 +1059,7 @@
} }
} }
&:not(.mediaitem-brick):not(.mediaitem-video):not(.noscale) { &:not(.mediaitem-card):not(.mediaitem-brick):not(.mediaitem-video):not(.noscale) {
@media (min-width: 1460px) { @media (min-width: 1460px) {
--scaleRate: 1.1; --scaleRate: 1.1;
--scaleRateArtwork: 0.9; --scaleRateArtwork: 0.9;
@ -1244,6 +1244,8 @@
padding: 10px 10px 14px; padding: 10px 10px 14px;
position: relative; position: relative;
width: 100%; width: 100%;
display: grid;
align-content: center;
&::before { &::before {
background: var(--bgartwork); background: var(--bgartwork);
@ -1272,7 +1274,7 @@
& + .subtitle { & + .subtitle {
max-height: none !important; max-height: none !important;
margin-top: -0.5em; // margin-top: -0.5em;
} }
} }