mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
chore(badge): update core badge
This commit is contained in:
@ -13,11 +13,7 @@ $badge-font-weight: bold !default;
|
|||||||
|
|
||||||
ion-badge {
|
ion-badge {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
visibility: inherit !important;
|
|
||||||
contain: content;
|
|
||||||
}
|
|
||||||
|
|
||||||
.badge {
|
|
||||||
padding: 3px 8px;
|
padding: 3px 8px;
|
||||||
|
|
||||||
min-width: 10px;
|
min-width: 10px;
|
||||||
@ -29,6 +25,12 @@ ion-badge {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
vertical-align: baseline;
|
vertical-align: baseline;
|
||||||
|
|
||||||
|
contain: content;
|
||||||
|
}
|
||||||
|
|
||||||
|
ion-badge.upgraded {
|
||||||
|
visibility: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
ion-badge:empty {
|
ion-badge:empty {
|
||||||
|
Reference in New Issue
Block a user