summaryrefslogtreecommitdiff
path: root/stylesheets/quatuor.css
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2021-03-22 22:27:33 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2021-03-22 22:27:33 +0100
commit476d314bb48a643a6123e9dcb11943dbd00048db (patch)
tree338b85d9e7781bf2ab2c16ef414d286b6d955f22 /stylesheets/quatuor.css
parent3b781d3c8e12750a4dd771f193b473abe6ab3b55 (diff)
downloadquatuorbellefeuille.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/quatuor.css')
-rw-r--r--stylesheets/quatuor.css2
1 files changed, 1 insertions, 1 deletions
diff --git a/stylesheets/quatuor.css b/stylesheets/quatuor.css
index 7e1131e..7844992 100644
--- a/stylesheets/quatuor.css
+++ b/stylesheets/quatuor.css
@@ -59,7 +59,7 @@
}
}
-@media (max-width: 50em) {
+@media not all and (min-width: 50em) {
#photos {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(20%, 50%));