From a4e48eb1743e943473bd95aa8e3940d8411041e4 Mon Sep 17 00:00:00 2001 From: Alice Gaudon Date: Tue, 9 Nov 2021 18:07:53 +0100 Subject: [PATCH] Fix duration field components input displacement --- src/assets/views/utils/Field.svelte | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/assets/views/utils/Field.svelte b/src/assets/views/utils/Field.svelte index 94c5df5..bcb548b 100644 --- a/src/assets/views/utils/Field.svelte +++ b/src/assets/views/utils/Field.svelte @@ -219,19 +219,19 @@ } } - .has-icon { + .has-icon > { input, select, select, - textarea, .form-display, .textarea-growing-wrapper, - .textarea-growing-wrapper:after { + .textarea-growing-wrapper:after, + .textarea-growing-wrapper > textarea { margin-left: -60px; padding-left: 68px; } - textarea { + .textarea-growing-wrapper > textarea { margin-left: -68px; width: calc(100% + 68px); }