Refactored media module. Returning 320p and 720p videos from MindGeek as teasers instead of trailers.

This commit is contained in:
2020-02-19 04:41:53 +01:00
parent b9e617edfc
commit 97f5e49187
12 changed files with 389 additions and 193 deletions

View File

@@ -116,7 +116,7 @@ export default {
.tiles {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(10rem, .5fr));
grid-template-columns: repeat(auto-fit, 10rem);
grid-gap: 0 .5rem;
padding: 1rem;
flex-grow: 1;
@@ -127,10 +127,11 @@ export default {
justify-content: center;
align-items: center;
padding: 0 1rem;
margin: 1rem 0 0 0;
margin: 1rem 0;
}
.genders {
flex-shrink: 0;
padding: 0 .5rem 0 0;
border-right: solid 1px $shadow-hint;
margin: 0 1rem 0 0;
@@ -186,7 +187,7 @@ export default {
}
@media(max-width: $breakpoint) {
.actors {
.tiles {
grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
}
}