From 9de8f03c734efea8cbb881d1d25c6f18a2a258b2 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Sun, 5 Oct 2025 09:46:42 +0200 Subject: Also show popover on smaller screens. (Within reasons.) Mobile viewports have width <576px, yet should be able to see popover. --- style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'style.css') 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; } -- cgit v1.2.3