Skip to content

Commit d919129

Browse files
committed
fix: fix login page on edge browser #204
1 parent a281552 commit d919129

File tree

1 file changed

+56
-51
lines changed

1 file changed

+56
-51
lines changed

src/views/pages/Login.vue

+56-51
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,62 @@
11
<template>
2-
<CContainer class="d-flex content-center min-vh-100">
3-
<CRow>
4-
<CCol>
5-
<CCardGroup>
6-
<CCard class="p-4">
7-
<CCardBody>
8-
<CForm>
9-
<h1>Login</h1>
10-
<p class="text-muted">Sign In to your account</p>
11-
<CInput
12-
placeholder="Username"
13-
autocomplete="username email"
14-
>
15-
<template #prepend-content><CIcon name="cil-user"/></template>
16-
</CInput>
17-
<CInput
18-
placeholder="Password"
19-
type="password"
20-
autocomplete="curent-password"
21-
>
22-
<template #prepend-content><CIcon name="cil-lock-locked"/></template>
23-
</CInput>
24-
<CRow>
25-
<CCol col="6" class="text-left">
26-
<CButton color="primary" class="px-4">Login</CButton>
27-
</CCol>
28-
<CCol col="6" class="text-right">
29-
<CButton color="link" class="px-0">Forgot password?</CButton>
30-
<CButton color="link" class="d-md-none">Register now!</CButton>
31-
</CCol>
32-
</CRow>
33-
</CForm>
34-
</CCardBody>
35-
</CCard>
36-
<CCard
37-
color="primary"
38-
text-color="white"
39-
class="text-center py-5 d-sm-down-none"
40-
body-wrapper
41-
>
42-
<h2>Sign up</h2>
43-
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
44-
<CButton
2+
<div class="c-app flex-row align-items-center">
3+
<CContainer>
4+
<CRow class="justify-content-center">
5+
<CCol md="8">
6+
<CCardGroup>
7+
<CCard class="p-4">
8+
<CCardBody>
9+
<CForm>
10+
<h1>Login</h1>
11+
<p class="text-muted">Sign In to your account</p>
12+
<CInput
13+
placeholder="Username"
14+
autocomplete="username email"
15+
>
16+
<template #prepend-content><CIcon name="cil-user"/></template>
17+
</CInput>
18+
<CInput
19+
placeholder="Password"
20+
type="password"
21+
autocomplete="curent-password"
22+
>
23+
<template #prepend-content><CIcon name="cil-lock-locked"/></template>
24+
</CInput>
25+
<CRow>
26+
<CCol col="6" class="text-left">
27+
<CButton color="primary" class="px-4">Login</CButton>
28+
</CCol>
29+
<CCol col="6" class="text-right">
30+
<CButton color="link" class="px-0">Forgot password?</CButton>
31+
<CButton color="link" class="d-lg-none">Register now!</CButton>
32+
</CCol>
33+
</CRow>
34+
</CForm>
35+
</CCardBody>
36+
</CCard>
37+
<CCard
4538
color="primary"
46-
class="active mt-3"
39+
text-color="white"
40+
class="text-center py-5 d-md-down-none"
41+
body-wrapper
4742
>
48-
Register Now!
49-
</CButton>
50-
</CCard>
51-
</CCardGroup>
52-
</CCol>
53-
</CRow>
54-
</CContainer>
43+
<CCardBody>
44+
<h2>Sign up</h2>
45+
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
46+
<CButton
47+
color="light"
48+
variant="outline"
49+
size="lg"
50+
>
51+
Register Now!
52+
</CButton>
53+
</CCardBody>
54+
</CCard>
55+
</CCardGroup>
56+
</CCol>
57+
</CRow>
58+
</CContainer>
59+
</div>
5560
</template>
5661

5762
<script>

0 commit comments

Comments
 (0)