mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
fix(console): protected app form field should have layer-1 background (#5358)
fix(console): protected app form field should have layer-1 background color
This commit is contained in:
parent
a671a4d9bf
commit
a3db1f7177
2 changed files with 6 additions and 1 deletions
|
@ -42,6 +42,10 @@ form {
|
|||
}
|
||||
}
|
||||
|
||||
.input {
|
||||
background: var(--color-layer-1);
|
||||
}
|
||||
|
||||
.domainFieldWrapper {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
|
|
|
@ -122,6 +122,7 @@ function ProtectedAppForm({
|
|||
tip={conditional(!hasDetailedInstructions && t('protected_app.form.url_field_tooltip'))}
|
||||
>
|
||||
<TextInput
|
||||
className={styles.input}
|
||||
{...register('origin', {
|
||||
required: true,
|
||||
validate: (value) =>
|
||||
|
@ -153,7 +154,7 @@ function ProtectedAppForm({
|
|||
>
|
||||
<div className={styles.domainFieldWrapper}>
|
||||
<TextInput
|
||||
className={styles.subdomain}
|
||||
className={classNames(styles.input, styles.subdomain)}
|
||||
{...register('subDomain', {
|
||||
required: true,
|
||||
validate: (value) =>
|
||||
|
|
Loading…
Reference in a new issue