From 02dd29a55f4d8a81df38803912022b8f79e2b407 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Fri, 21 Jun 2024 18:03:02 +0200 Subject: [PATCH] chore: add margin left to radio buttons --- umap/static/umap/base.css | 5 ++++- umap/static/umap/vars.css | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/umap/static/umap/base.css b/umap/static/umap/base.css index 9a9e765c..c7f396e1 100644 --- a/umap/static/umap/base.css +++ b/umap/static/umap/base.css @@ -185,8 +185,11 @@ input[type="range"] { margin-bottom: 5px; width: 100%; } +input[type="radio"] { + margin-right: var(--text-margin); +} input[type="checkbox"] { - margin: 0 5px; + margin: 0 var(--text-margin); vertical-align: middle; appearance: none; } diff --git a/umap/static/umap/vars.css b/umap/static/umap/vars.css index f6732983..6bb1b247 100644 --- a/umap/static/umap/vars.css +++ b/umap/static/umap/vars.css @@ -35,6 +35,7 @@ --border-radius: 4px; --box-padding: 20px; --box-margin: 14px; + --text-margin: 7px; } .dark { --background-color: var(--color-darkGray);