mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 18:14:13 +00:00
[bugfix] Icon template (#1091)
This commit is contained in:
@@ -16,10 +16,9 @@
|
||||
|
||||
&__info {
|
||||
color: #fff;
|
||||
left: 50%;
|
||||
left: 100%;
|
||||
top: -.5em;
|
||||
font-size: .5em;
|
||||
margin-left: .8em;
|
||||
padding: 0 .3em;
|
||||
text-align: center;
|
||||
min-width: 1.2em;
|
||||
@@ -28,6 +27,7 @@
|
||||
border-radius: .6em;
|
||||
box-sizing: border-box;
|
||||
background-color: $red;
|
||||
transform: translateX(-50%);
|
||||
font-family: PingFang SC, Helvetica Neue, Arial, sans-serif;
|
||||
}
|
||||
|
||||
|
@@ -2,5 +2,5 @@
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-family: 'vant-icon';
|
||||
src: url('./vant-icon-03d6f2.ttf') format('truetype');
|
||||
src: url('./vant-icon-254016.ttf') format('truetype');
|
||||
}
|
@@ -4,7 +4,7 @@
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-family: 'vant-icon';
|
||||
src: url('https://img.yzcdn.cn/zanui/icon/vant-icon-03d6f2.ttf') format('truetype');
|
||||
src: url('https://img.yzcdn.cn/zanui/icon/vant-icon-254016.ttf') format('truetype');
|
||||
}
|
||||
|
||||
.van-icon {
|
||||
|
Binary file not shown.
Reference in New Issue
Block a user