0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-30 20:33:54 -05:00

fix(console): remove unexpected margin top from form elements (#4408)

This commit is contained in:
Charles Zhao 2023-08-30 15:48:47 +08:00 committed by GitHub
parent 8108a4831a
commit 29840c1c26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View file

@ -19,6 +19,9 @@
}
}
form {
/* Avoid using element selector directly in mdx components, as it will
* affect all elements in the entire admin console app.
*/
.form {
margin: _.unit(4) 0;
}

View file

@ -86,7 +86,7 @@ function UriInputField({ name, defaultValue }: Props) {
return (
<FormProvider {...methods}>
<form>
<form className={styles.form}>
<Controller
name={name}
control={control}