Skip to content

Commit efdd0fe

Browse files
committed
fix md style
1 parent 522b0fe commit efdd0fe

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

core/src/components/badge/badge.common.scss

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,4 @@
6262

6363
:host(:not(.in-tab-button)[vertical].badge-vertical-bottom) {
6464
bottom: 0;
65-
}
66-
67-
:host([vertical]) ::slotted(ion-icon) {
68-
@include position(50%, null, null, 50%);
69-
70-
position: absolute;
71-
72-
transform: translate(-50%, -50%);
73-
}
65+
}

core/src/components/badge/badge.ionic.scss

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,12 @@
203203
// Icon Inside Badge Hint
204204
// --------------------------------------------------
205205
:host([vertical]) ::slotted(ion-icon) {
206+
@include globals.position(50%, null, null, 50%);
207+
208+
position: absolute;
209+
210+
transform: translate(-50%, -50%);
211+
206212
width: globals.$ion-scale-300;
207213
height: globals.$ion-scale-300;
208-
}
214+
}

0 commit comments

Comments
 (0)