From 31a329609294100281a48764d58c94a441450d19 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Tue, 6 Aug 2024 16:35:21 +0200 Subject: [PATCH] Fix the size of the small checkbox/radio componenets (#536) --- kvision-assets/build.gradle.kts | 2 +- kvision-assets/src/css/style.css | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/kvision-assets/build.gradle.kts b/kvision-assets/build.gradle.kts index 229729298b..102e6d9c2f 100644 --- a/kvision-assets/build.gradle.kts +++ b/kvision-assets/build.gradle.kts @@ -13,7 +13,7 @@ npmPublish { } packageJson { main.set("index.js") - version.set("8.0.10") + version.set("8.0.11") description.set("The assets for the KVision framework") keywords.set(listOf("kvision", "kotlin")) homepage.set("https://kvision.io") diff --git a/kvision-assets/src/css/style.css b/kvision-assets/src/css/style.css index 780ca5a47e..0a7c9fd067 100644 --- a/kvision-assets/src/css/style.css +++ b/kvision-assets/src/css/style.css @@ -233,6 +233,15 @@ label.form-check-label.required-label > span:last-child::after { height: inherit; } +.form-check .form-check-input.form-control-sm { + height: 14px; + min-height: 14px; + margin-left: -1.7em; + width: 14px; + padding: .25rem; + margin-top: 8px; +} + .form-check-inline { margin-left: 3px; }