diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2021-03-22 22:27:33 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2021-03-22 22:27:33 +0100 |
| commit | 476d314bb48a643a6123e9dcb11943dbd00048db (patch) | |
| tree | 338b85d9e7781bf2ab2c16ef414d286b6d955f22 /stylesheets/commun.css | |
| parent | 3b781d3c8e12750a4dd771f193b473abe6ab3b55 (diff) | |
| download | quatuorbellefeuille.com-476d314bb48a643a6123e9dcb11943dbd00048db.tar.xz | |
Try to fix breakpoints in CSS media queries
(min-width: XXem) and (max-width: XXem) mean ≥XXem and ≤XXem,
respectively. So we get a bunch of bugs when <body> is *exactly*
XXem:
- in individual portraits, the image keeps hovering over the text,
- sometimes the menu bar disappears, and no menu button shows up,
- etc.
not all and (min-width: XXem) is the closest thing I've found to
<XXem.
Diffstat (limited to 'stylesheets/commun.css')
| -rw-r--r-- | stylesheets/commun.css | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stylesheets/commun.css b/stylesheets/commun.css index 38d6cdb..161d5ba 100644 --- a/stylesheets/commun.css +++ b/stylesheets/commun.css @@ -244,7 +244,7 @@ footer.legal { } } -@media (max-width: 50em) { +@media not all and (min-width: 50em) { body { --banner-logo-height: 6rem; --banner-name-height: 1.8rem; |
