From 7a14a37960b73e6f01120ffec444b14b7fee6b3b Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Fri, 20 Jun 2025 14:47:33 +0200 Subject: Add a closing button to the measurement panel. It can be confusing that one had to click on the ruler icon to go back to the normal mode where one can select features. --- style.css | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'style.css') diff --git a/style.css b/style.css index da48ebb..748f615 100644 --- a/style.css +++ b/style.css @@ -494,9 +494,16 @@ body.inprogress { -moz-user-select: text; user-select: text; /* eslint-disable-line css/use-baseline */ } -#measure-panel .h5 { +#measure-panel .modal-header { + border-bottom: none; + padding: var(--bs-modal-padding); +} +#measure-panel .modal-header .h5 { font-size: 1.25rem; - margin-bottom: .75rem; + margin: 0; +} +#measure-panel .modal-body { + padding-top: 0; } #age-filter-modal .btn-group > .btn-check:not(:checked) + label.btn:hover, #measure-panel .btn-group > .btn-check:not(:checked) + label.btn:hover { -- cgit v1.2.3