FIX: grid-template-columns in Firefox do not support nested calc()
This commit is contained in:
parent
da13c0f68a
commit
99713bf14c
|
@ -20,7 +20,13 @@
|
|||
|
||||
.user-card-directory {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(calc(min(400px, 100%)), 1fr));
|
||||
|
||||
grid-template-columns: 1fr;
|
||||
|
||||
@media only screen and (min-width: 500px) {
|
||||
grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
|
||||
}
|
||||
|
||||
grid-gap: 60px 20px;
|
||||
margin-top: 60px;
|
||||
|
||||
|
|
Loading…
Reference in New Issue