diff --git a/public/index.css b/public/index.css index 95d517aff..a8ee836f7 100644 --- a/public/index.css +++ b/public/index.css @@ -123,33 +123,6 @@ a.address { border-bottom-color: transparent; } -input[type="text"] { - font-family: var(--font-family-sans-serif); - line-height: 1.6; -} -input[type="text"] { - outline: none; - border: none; - font-size: var(--font-size-regular); - color: var(--color-foreground); - background: transparent; - border: 1px solid var(--color-secondary); - border-radius: var(--border-radius-round); - padding: 1rem 1.5rem; - margin: 1rem; - height: var(--button-regular-height); -} -input[type="text"]::placeholder { - color: var(--color-secondary); - opacity: 1 !important; -} -input[type="text"].small { - font-size: var(--font-size-small); -} -input.wide { - width: 44ch; -} - .error { color: var(--color-negative) !important; border-color: var(--color-negative) !important; diff --git a/src/Form.svelte b/src/Form.svelte index 697392959..4201d3bc0 100644 --- a/src/Form.svelte +++ b/src/Form.svelte @@ -1,8 +1,7 @@ @@ -124,7 +127,7 @@ display: flex; align-items: center; width: 28rem; - height: 2.125rem; + height: 2.5rem; border: 1px dashed transparent; padding: 0.25rem 1rem; margin: 0; @@ -145,22 +148,9 @@ margin: 0; } - input.field { - border-radius: var(--border-radius-round); - overflow: hidden; - text-overflow: ellipsis; - border-color: var(--color-secondary) !important; - } .description.invalid { color: var(--color-negative) !important; } - input.field::placeholder { - color: var(--color-secondary); - font-style: italic; - } - input.field[disabled] { - color: var(--color-secondary); - } .label { border: 1px solid transparent; @@ -180,10 +170,16 @@ .actions.editable { visibility: visible; } + .text-input { + width: 28rem; + } @media (max-width: 720px) { .field { width: unset; } + .text-input { + width: 14rem; + } } @@ -194,15 +190,16 @@