Improved mobile layout for header search. Improved release tile layout behavior.
This commit is contained in:
@@ -75,7 +75,7 @@ export default {
|
||||
.tiles {
|
||||
width: 100%;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(20rem, .33fr));
|
||||
grid-template-columns: repeat(auto-fit, minmax(20rem, .25fr));
|
||||
grid-gap: 1rem;
|
||||
}
|
||||
|
||||
@@ -85,6 +85,12 @@ export default {
|
||||
}
|
||||
|
||||
@media(max-width: $breakpoint4) {
|
||||
.tiles {
|
||||
grid-template-columns: repeat(auto-fit, minmax(20rem, .33fr));
|
||||
}
|
||||
}
|
||||
|
||||
@media(max-width: $breakpoint3) {
|
||||
.tiles {
|
||||
grid-template-columns: repeat(auto-fit, minmax(20rem, .5fr));
|
||||
}
|
||||
@@ -92,7 +98,7 @@ export default {
|
||||
|
||||
@media(max-width: $breakpoint) {
|
||||
.tiles {
|
||||
grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
|
||||
grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user