mirror of https://github.com/dap-ps/discover.git
Fix columns in line with designs
This commit is contained in:
parent
c980243d0c
commit
dfca8f9c6f
|
@ -10,7 +10,7 @@
|
|||
.grid {
|
||||
display: grid;
|
||||
grid-auto-flow: column;
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
grid-gap: calculateRem(20);
|
||||
overflow-x: scroll;
|
||||
overflow-y: hidden;
|
||||
|
@ -19,18 +19,18 @@
|
|||
|
||||
@media (min-width: $desktop) {
|
||||
// grid-auto-flow: row;
|
||||
grid-template-rows: repeat(4, 1fr);
|
||||
grid-template-rows: repeat(3, 1fr);
|
||||
grid-template-columns: unset;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
@media (min-width: 970px) {
|
||||
grid-template-columns: unset;
|
||||
grid-template-rows: repeat(4, 1fr);
|
||||
grid-template-rows: repeat(3, 1fr);
|
||||
}
|
||||
|
||||
@media (min-width: 1300px) {
|
||||
grid-template-columns: unset;
|
||||
grid-template-rows: repeat(4, 1fr);
|
||||
grid-template-rows: repeat(3, 1fr);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue