Use grid-auto-columns instead of specifying template-columns on @media
quearies
This commit is contained in:
parent
d0631c6ee2
commit
51f3030d0e
1 changed files with 2 additions and 5 deletions
|
@ -13,7 +13,7 @@
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-areas: "hd hd" "cd cd";
|
grid-template-areas: "hd hd" "cd cd";
|
||||||
grid-template-columns: 1fr 1fr;
|
grid-auto-columns: 1fr;
|
||||||
column-gap: 1em;
|
column-gap: 1em;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -34,7 +34,6 @@
|
||||||
addon-list > section,
|
addon-list > section,
|
||||||
recommended-addon-list{
|
recommended-addon-list{
|
||||||
grid-template-areas: "hd hd hd" "cd cd cd";
|
grid-template-areas: "hd hd hd" "cd cd cd";
|
||||||
grid-template-columns: 1fr 1fr 1fr;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -42,8 +41,6 @@
|
||||||
addon-list > section,
|
addon-list > section,
|
||||||
recommended-addon-list{
|
recommended-addon-list{
|
||||||
grid-template-areas: "hd hd hd hd" "cd cd cd cd";
|
grid-template-areas: "hd hd hd hd" "cd cd cd cd";
|
||||||
grid-template-columns: 1fr 1fr 1fr 1fr;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue