From 5d40c7ee933da1a33eaf6da269ea7b45e4163c8a Mon Sep 17 00:00:00 2001 From: Alexis Sellier Date: Wed, 16 Jun 2021 17:10:03 +0200 Subject: [PATCH] Fix form field styling --- src/Form.svelte | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Form.svelte b/src/Form.svelte index fffedcfbc..e50aa2d38 100644 --- a/src/Form.svelte +++ b/src/Form.svelte @@ -36,7 +36,10 @@ } .field { + display: flex; + align-items: center; width: 28rem; + height: 2.125rem; border: 1px dashed transparent; padding: 0.25rem 1rem; margin: 0; @@ -59,10 +62,6 @@ color: var(--color-secondary); } - span.field { - display: inline-block; - } - .label { border: 1px solid transparent; }