Reduce overflow in playlist view (#3123)

* Prevent overflow on playlist view on small 📱displays

* Prevent transition of width on `.thumbnailImage`

* Expand styles to be responsive at more widths
This commit is contained in:
Emma 2023-01-29 21:02:08 -05:00 committed by GitHub
parent 2bc5d7e95c
commit 7640a93ec9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 1 deletions

View File

@ -61,7 +61,7 @@ $watched-transition-duration: 0.5s;
.thumbnailImage {
opacity: 0.3;
transition-duration: $watched-transition-duration;
transition: opacity $watched-transition-duration;
}
&:hover .thumbnailImage,

View File

@ -39,6 +39,15 @@
max-height: 7vh;
}
:deep(.videoThumbnail) {
margin-top: auto;
margin-bottom: auto;
}
:deep(.thumbnailImage) {
max-width: 25vw;
}
@media only screen and (max-width: 850px) {
.routerView {
flex-direction: column;
@ -56,4 +65,8 @@
box-sizing: border-box;
width: 100%;
}
:deep(.thumbnailImage) {
max-width: 35vw;
}
}