From 3f4cba44340a5ddeb26217c052ea27a3c6ccc98c Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Mon, 12 Aug 2024 03:02:48 +0300 Subject: [PATCH] Set layer button size in rems Lets buttons become larger if font-only zoom is used. This should help with layer name labels not fitting. --- app/assets/stylesheets/common.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index a1734682e..ee551aed2 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -412,7 +412,7 @@ body.small-nav { .layers-ui { .base-layers > * { - height: 56px; + height: 3.5rem; > .btn { --bs-btn-border-color: var(--bs-body-bg); -- 2.39.5