aboutsummaryrefslogtreecommitdiffstats
path: root/style.css
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2025-10-05 09:46:42 +0200
committerGuilhem Moulin <guilhem@fripost.org>2025-10-05 18:13:17 +0200
commit9de8f03c734efea8cbb881d1d25c6f18a2a258b2 (patch)
tree264556cb9912bfcbcd93793d66dc7ce06c553832 /style.css
parenta403a0ccfac410f8f2fde4100c16ac536c826ad7 (diff)
Also show popover on smaller screens.
(Within reasons.) Mobile viewports have width <576px, yet should be able to see popover.
Diffstat (limited to 'style.css')
-rw-r--r--style.css2
1 files changed, 1 insertions, 1 deletions
diff --git a/style.css b/style.css
index b4c7f54..fb413d7 100644
--- a/style.css
+++ b/style.css
@@ -560,7 +560,7 @@ body.inprogress {
--bs-popover-body-padding-y: .5rem;
--bs-popover-header-bg: var(--bs-popover-bg);
--bs-popover-zindex: 1000;
- --bs-popover-max-width: 450px;
+ --bs-popover-max-width: min(450px, 90vw);
width: var(--bs-popover-max-width);
pointer-events: auto;
}