From 58e12c991d96c4091e93f0fd112c70b01269e89e Mon Sep 17 00:00:00 2001 From: Adrien Date: Mon, 22 Apr 2024 15:51:01 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20the=20height=20and=20radiu?= =?UTF-8?q?s=20of=20the=20inputs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ui/_base.scss | 4 ++++ src/ui/components/text_input.scss | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/ui/_base.scss b/src/ui/_base.scss index 3aadd1f..e535f8c 100644 --- a/src/ui/_base.scss +++ b/src/ui/_base.scss @@ -202,6 +202,10 @@ body { outline: 0px; } +input { + font-family: inherit; +} + #main { height: 100%; width: 100%; diff --git a/src/ui/components/text_input.scss b/src/ui/components/text_input.scss index 2b86eb6..d83cba6 100644 --- a/src/ui/components/text_input.scss +++ b/src/ui/components/text_input.scss @@ -3,7 +3,7 @@ %base-text-input { $horizontal-padding: 1vw; - height: 100%; + height: calc(100% - (2 * $border-normal-width)); width: calc(100% - (2 * $horizontal-padding)); border: $border-normal; @@ -24,7 +24,9 @@ margin: 0; padding: 0; + border: 0; + border-radius: $border-radius; font-size: 2vh;