Pad input text when FlashOn icon is showing

This commit is contained in:
Mel O'Hagan 2022-04-05 16:56:48 +01:00
parent 0a72aa6adb
commit d52239d0d2
2 changed files with 10 additions and 2 deletions

View File

@ -51,7 +51,7 @@
}
</script>
<div class="control">
<div class="control" class:disabled>
<Combobox
{label}
{disabled}
@ -121,4 +121,8 @@
background-color: var(--spectrum-global-color-gray-50);
border-color: var(--spectrum-alias-border-color-hover);
}
.control:not(.disabled) :global(.spectrum-Textfield-input) {
padding-right: 40px;
}
</style>

View File

@ -36,7 +36,7 @@
}
</script>
<div class="control">
<div class="control" class:disabled>
<Input
{label}
{disabled}
@ -103,4 +103,8 @@
background-color: var(--spectrum-global-color-gray-50);
border-color: var(--spectrum-alias-border-color-hover);
}
.control:not(.disabled) :global(.spectrum-Textfield-input) {
padding-right: 40px;
}
</style>