mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 17:51:54 +00:00
fix: component style should not depend on reset.css
This commit is contained in:
@@ -6,4 +6,3 @@
|
||||
@import "./common/normalize.css";
|
||||
@import "./common/hairline.css";
|
||||
@import "./common/animation.css";
|
||||
|
||||
|
4
packages/vant-css/src/common/normalize.css
vendored
4
packages/vant-css/src/common/normalize.css
vendored
@@ -6,6 +6,10 @@ html {
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
@@ -17,6 +17,7 @@
|
||||
height: 50px;
|
||||
font-size: 10px;
|
||||
min-width: 15%;
|
||||
line-height: 1;
|
||||
text-align: center;
|
||||
background-color: $white;
|
||||
flex-direction: column;
|
||||
|
Reference in New Issue
Block a user