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

View File

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