Skip to content

Commit 044c6e2

Browse files
committed
🌈 Update global normalize style
1 parent e39a19c commit 044c6e2

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

src/modules/UserAccount/pages/login.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
>
2525
<el-input
2626
v-model="form.username"
27-
suffix-icon="user-tie"
2827
placeholder="用户名: admin or user"
2928
>
3029
<font-awesome-icon
@@ -44,7 +43,6 @@
4443
<el-input
4544
v-model="form.password"
4645
:type="showPassword ? 'text' : 'password'"
47-
suffix-icon="lock"
4846
placeholder="密码: 同用户名"
4947
>
5048
<font-awesome-icon

src/styles/index.scss

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ body {
77
}
88

99
html {
10-
box-sizing: border-box;
1110
font-size: 14px;
11+
box-sizing: border-box;
1212
-webkit-tap-highlight-color: transparent;
1313
}
1414

@@ -65,3 +65,11 @@ a {
6565
ul, ol {
6666
list-style: none;
6767
}
68+
69+
svg {
70+
box-sizing: content-box;
71+
}
72+
73+
*, *:before, *:after {
74+
box-sizing: inherit;
75+
}

0 commit comments

Comments
 (0)