From 012bcf9a80867812558289fabeab7758d8f70c7c Mon Sep 17 00:00:00 2001 From: esikkala <esko.ikkala@aalto.fi> Date: Mon, 1 Mar 2021 10:18:49 +0200 Subject: [PATCH] Add some custom Leaflet layer control styles --- src/client/index.css | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/src/client/index.css b/src/client/index.css index af632e70..2558abf9 100644 --- a/src/client/index.css +++ b/src/client/index.css @@ -49,4 +49,19 @@ a, a:visited, a:hover, a:active { .apexcharts-custom-tooltip { padding: 8px -} \ No newline at end of file +} + +.leaflet-control-layers span { + font-family: "Roboto", "Helvetica", "Arial"; +} + +@media screen and (min-width: 1440px) { + .leaflet-control-layers span { + font-size: 14px; + } + .leaflet-control-layers-selector { + transform: scale(1.5); + margin: 6px; + } +} + -- GitLab