Fix form picker component styling

This commit is contained in:
Andrew Kingston 2021-03-29 15:34:18 +01:00
parent 9b3a6a9c4d
commit 0c4687c502
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@
"@spectrum-css/label": "^2.0.9", "@spectrum-css/label": "^2.0.9",
"@spectrum-css/menu": "^3.0.1", "@spectrum-css/menu": "^3.0.1",
"@spectrum-css/page": "^3.0.1", "@spectrum-css/page": "^3.0.1",
"@spectrum-css/picker": "^1.0.1", "@spectrum-css/picker": "^1.0.0",
"@spectrum-css/popover": "^3.0.1", "@spectrum-css/popover": "^3.0.1",
"@spectrum-css/stepper": "^3.0.1", "@spectrum-css/stepper": "^3.0.1",
"@spectrum-css/table": "^3.0.1", "@spectrum-css/table": "^3.0.1",

View File

@ -19,7 +19,7 @@
{#if fieldState} {#if fieldState}
<button <button
id={$fieldState.fieldId} id={$fieldState.fieldId}
class="spectrum-Picker" class="spectrum-Picker spectrum-Picker--sizeM"
disabled={$fieldState.disabled} disabled={$fieldState.disabled}
class:is-invalid={!$fieldState.valid} class:is-invalid={!$fieldState.valid}
class:is-open={open} class:is-open={open}