From: Anton Khorev Date: Mon, 12 Aug 2024 00:02:48 +0000 (+0300) Subject: Set layer button size in rems X-Git-Tag: live~246^2~1 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/3f4cba44340a5ddeb26217c052ea27a3c6ccc98c?ds=inline 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. --- 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);