From dfce209bddef8b60e803138beb98d03371b64045 Mon Sep 17 00:00:00 2001 From: hiifong Date: Sun, 18 Jun 2023 14:02:25 +0800 Subject: [PATCH 1/4] set input line-height to 100% --- web_src/css/base.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web_src/css/base.css b/web_src/css/base.css index a876885632abc..1133ba5c6c4e4 100644 --- a/web_src/css/base.css +++ b/web_src/css/base.css @@ -279,6 +279,10 @@ button { cursor: pointer; } +input { + line-height: 100% !important; +} + details summary { cursor: pointer; } From 74bf7e7cb5a47c0939d26bb350e5e358398fe919 Mon Sep 17 00:00:00 2001 From: silverwind Date: Mon, 26 Jun 2023 22:16:44 +0200 Subject: [PATCH 2/4] better fix via fomantic override --- web_src/css/base.css | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/web_src/css/base.css b/web_src/css/base.css index 0a80b5c7dac53..ffc9251020be4 100644 --- a/web_src/css/base.css +++ b/web_src/css/base.css @@ -279,10 +279,6 @@ button { cursor: pointer; } -input { - line-height: 100% !important; -} - details summary { cursor: pointer; } @@ -475,6 +471,11 @@ a.label, padding-top: 15px !important; } +/* fix Fomantic's line-height cutting off "g" on Windows Chrome with out fonts */ +.ui.input > input { + line-height: 1.3; +} + .ui.input.focus > input, .ui.input > input:focus { border-color: var(--color-primary); From ae5c480dfe45b4f8ba96636f79a30898c7626c7b Mon Sep 17 00:00:00 2001 From: silverwind Date: Tue, 27 Jun 2023 10:33:34 +0200 Subject: [PATCH 3/4] Update web_src/css/base.css --- web_src/css/base.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_src/css/base.css b/web_src/css/base.css index ffc9251020be4..29e2af48caaf0 100644 --- a/web_src/css/base.css +++ b/web_src/css/base.css @@ -471,7 +471,7 @@ a.label, padding-top: 15px !important; } -/* fix Fomantic's line-height cutting off "g" on Windows Chrome with out fonts */ +/* fix Fomantic's line-height cutting off "g" on Windows Chrome with our fonts */ .ui.input > input { line-height: 1.3; } From 51cbcf28b96602b71bd9bb84f31b4769964c7820 Mon Sep 17 00:00:00 2001 From: silverwind Date: Tue, 27 Jun 2023 10:39:16 +0200 Subject: [PATCH 4/4] Update web_src/css/base.css --- web_src/css/base.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_src/css/base.css b/web_src/css/base.css index 29e2af48caaf0..4e2cd373d7de2 100644 --- a/web_src/css/base.css +++ b/web_src/css/base.css @@ -471,7 +471,7 @@ a.label, padding-top: 15px !important; } -/* fix Fomantic's line-height cutting off "g" on Windows Chrome with our fonts */ +/* fix Fomantic's line-height cutting off "g" on Windows Chrome with Segoe UI */ .ui.input > input { line-height: 1.3; }