mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
fix(Icon): fix badge number align (#3501)
* Revert "fix(Tabbar): badge number vertical align center (#3493)" This reverts commit f5b00be97687d21153496ab067e4117050f0b925. * fix(Icon): fix badge number align
This commit is contained in:
parent
84b70f50fc
commit
b71cd32306
@ -279,6 +279,7 @@
|
||||
@info-background-color: @red;
|
||||
@info-dot-color: @red;
|
||||
@info-dot-size: 8px;
|
||||
@info-font-family: -apple-system-font, Helvetica Neue, Arial, sans-serif;
|
||||
|
||||
// Loading
|
||||
@loading-text-color: @gray-6;
|
||||
|
@ -6,6 +6,7 @@
|
||||
top: 0;
|
||||
right: 0;
|
||||
box-sizing: border-box;
|
||||
line-height: 1.2;
|
||||
white-space: nowrap;
|
||||
text-align: center;
|
||||
transform: translate(50%, -50%);
|
||||
@ -16,7 +17,7 @@
|
||||
.theme(color, '@info-color');
|
||||
.theme(font-weight, '@info-font-weight');
|
||||
.theme(font-size, '@info-font-size');
|
||||
.theme(line-height, 'calc(@info-size - @info-border-width * 2)');
|
||||
.theme(font-family, '@info-font-family');
|
||||
.theme(background-color, '@info-background-color');
|
||||
.theme(border, '@info-border-width solid @white');
|
||||
.theme(border-radius, '@info-size');
|
||||
|
Loading…
x
Reference in New Issue
Block a user