From 6048664e2e39fd03b3d1106e0e5238828ca9e1eb Mon Sep 17 00:00:00 2001 From: Arthur Bolsoni Date: Sat, 13 Jan 2024 20:53:02 -0300 Subject: [PATCH] CSS Update for `q-input` Auto-Growing Textarea: Dynamic `line-height` Adjustment This commit updates the CSS of the `q-input` auto-growing textarea. It replaces a fixed pixel value for `line-height` with a relative value based on the font size. This change ensures that the line spacing remains proportional and consistent regardless of the font size set, enhancing readability and user experience. Previously, the fixed pixel value could lead to visual inconsistencies when the font size was adjusted. --- ui/src/components/input/QInput.sass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/components/input/QInput.sass b/ui/src/components/input/QInput.sass index aef582e2f2e..01c4c3df58c 100644 --- a/ui/src/components/input/QInput.sass +++ b/ui/src/components/input/QInput.sass @@ -13,7 +13,7 @@ bottom: 2px .q-field__native, .q-field__prefix, .q-field__suffix - line-height: 18px + line-height: 1; .q-field__native resize: vertical