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:
parent
8108a4831a
commit
29840c1c26
2 changed files with 5 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -86,7 +86,7 @@ function UriInputField({ name, defaultValue }: Props) {
|
|||
|
||||
return (
|
||||
<FormProvider {...methods}>
|
||||
<form>
|
||||
<form className={styles.form}>
|
||||
<Controller
|
||||
name={name}
|
||||
control={control}
|
||||
|
|
Loading…
Reference in a new issue