Fix media query: calc not supported

This commit is contained in:
Edgar P. Burkhart 2022-05-08 10:00:24 +02:00
parent 416c5ee7f0
commit d16355c1cc
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -45,7 +45,7 @@ body > div {
} }
body > div.info {grid-column: 1} body > div.info {grid-column: 1}
body > div.cv {grid-column: 2 / -1} body > div.cv {grid-column: 2 / -1}
@media (max-width: calc(2 * var(--colw) + 3 * var(--gap))) { @media (max-width: 40rem) {
body {grid-template-columns: 1fr} body {grid-template-columns: 1fr}
body > div.cv {grid-column: 1} body > div.cv {grid-column: 1}
} }