Merge pull request #5258 from melohagan/bug/sev3/hidden_bindable_text

Add text input padding when FlashOn icon shown
This commit is contained in:
melohagan 2022-04-06 11:32:02 +01:00 committed by GitHub
commit 7bc678edbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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>