From 362ac3cbdc578040518ffcd8fa0ac15d70499988 Mon Sep 17 00:00:00 2001 From: James Lyne Date: Wed, 23 Jun 2021 17:57:52 +0100 Subject: [PATCH] Respect --border-radius in zoom control (Fixes #36) --- src/scss/leaflet/_controls.scss | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/scss/leaflet/_controls.scss b/src/scss/leaflet/_controls.scss index 0ba0c99..6a98933 100644 --- a/src/scss/leaflet/_controls.scss +++ b/src/scss/leaflet/_controls.scss @@ -81,13 +81,13 @@ line-height: 5rem; &:first-child { - border-top-left-radius: 1rem; - border-top-right-radius: 1rem; + border-top-left-radius: var(--border-radius); + border-top-right-radius: var(--border-radius); } &:last-child { - border-bottom-left-radius: 1rem; - border-bottom-right-radius: 1rem; + border-bottom-left-radius: var(--border-radius); + border-bottom-right-radius: var(--border-radius); } } }