added mediaitem resizing to videos
This commit is contained in:
parent
88927dc15f
commit
d648fa63c6
1 changed files with 11 additions and 0 deletions
|
@ -1050,6 +1050,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
&.mediaitem-video {
|
&.mediaitem-video {
|
||||||
|
--scaleRate: 1.25;
|
||||||
|
--scaleRateArtwork: 1.25;
|
||||||
height: 200px;
|
height: 200px;
|
||||||
width: 240px;
|
width: 240px;
|
||||||
|
|
||||||
|
@ -1057,6 +1059,15 @@
|
||||||
height: 120px;
|
height: 120px;
|
||||||
width: 212px;
|
width: 212px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (min-width: 1600px) {
|
||||||
|
width: calc(240px * var(--scaleRate));
|
||||||
|
height: calc(200px * var(--scaleRate));
|
||||||
|
.artwork-container>.artwork {
|
||||||
|
width: calc(212px * var(--scaleRateArtwork));
|
||||||
|
height: calc(120px * var(--scaleRateArtwork));
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.mediaitem-brick {
|
&.mediaitem-brick {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue