0
Fork 0
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:
Charles Zhao 2024-01-31 16:22:17 +08:00 committed by GitHub
parent a671a4d9bf
commit a3db1f7177
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View file

@ -42,6 +42,10 @@ form {
}
}
.input {
background: var(--color-layer-1);
}
.domainFieldWrapper {
display: flex;
width: 100%;

View file

@ -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) =>