From 82dd89a1aae1033ee0657f2a9b40f686718a8659 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi <256895@studenti.unimore.it> Date: Tue, 27 Apr 2021 17:14:01 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Change=20checkbox=20and=20radio?= =?UTF-8?q?=20sizing?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/frontend/src/components/Checkbox.module.css | 9 +++++---- code/frontend/src/components/Radio.module.css | 7 ++++--- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/code/frontend/src/components/Checkbox.module.css b/code/frontend/src/components/Checkbox.module.css index 8fdd63b..839d097 100644 --- a/code/frontend/src/components/Checkbox.module.css +++ b/code/frontend/src/components/Checkbox.module.css @@ -1,5 +1,6 @@ .Checkbox { - height: 25px; - width: 25px; - vertical-align: bottom; -} + font-size: inherit; + width: 1em; + height: 1em; + border-radius: 0.25em; +} \ No newline at end of file diff --git a/code/frontend/src/components/Radio.module.css b/code/frontend/src/components/Radio.module.css index d94a261..85289d2 100644 --- a/code/frontend/src/components/Radio.module.css +++ b/code/frontend/src/components/Radio.module.css @@ -1,5 +1,6 @@ .Radio { - height: 25px; - width: 25px; - vertical-align: bottom; + font-size: inherit; + width: 1em; + height: 1em; + border-radius: 0.25em; }