Skip to content

Commit 151555b

Browse files
authored
doc(site): fix Login Form style (#5797)
1 parent c739e49 commit 151555b

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

components/form/demo/normal-login.vue

+3-8
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ Normal login form which can contain more elements.
4747
</a-input-password>
4848
</a-form-item>
4949

50-
<div class="login-form-wrap">
50+
<a-form-item>
5151
<a-form-item name="remember" no-style>
5252
<a-checkbox v-model:checked="formState.remember">Remember me</a-checkbox>
5353
</a-form-item>
5454
<a class="login-form-forgot" href="">Forgot password</a>
55-
</div>
55+
</a-form-item>
5656

5757
<a-form-item>
5858
<a-button :disabled="disabled" type="primary" html-type="submit" class="login-form-button">
@@ -105,13 +105,8 @@ export default defineComponent({
105105
#components-form-demo-normal-login .login-form {
106106
max-width: 300px;
107107
}
108-
#components-form-demo-normal-login .login-form-wrap {
109-
display: flex;
110-
align-items: center;
111-
justify-content: space-between;
112-
}
113108
#components-form-demo-normal-login .login-form-forgot {
114-
margin-bottom: 24px;
109+
float: right;
115110
}
116111
#components-form-demo-normal-login .login-form-button {
117112
width: 100%;

0 commit comments

Comments
 (0)