Skip to content

Commit b657f5c

Browse files
committed
remove :not
1 parent 517d5b9 commit b657f5c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

core/src/components/avatar/avatar.ionic.scss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -156,18 +156,18 @@
156156
// Avatar Empty Badge (hint)
157157
// --------------------------------------------------
158158

159+
:host ::slotted(ion-badge.badge-vertical-top:empty) {
160+
transform: translate(globals.$ion-scale-050, calc(globals.$ion-scale-050 * -1));
161+
}
162+
159163
:host(.avatar-xxsmall) ::slotted(ion-badge.badge-vertical-top:empty) {
160164
transform: translate(globals.$ion-scale-100, calc(globals.$ion-scale-100 * -1));
161165
}
162166

163-
:host(:not(.avatar-xxsmall)) ::slotted(ion-badge.badge-vertical-top:empty) {
164-
transform: translate(globals.$ion-scale-050, calc(globals.$ion-scale-050 * -1));
167+
:host ::slotted(ion-badge.badge-vertical-bottom:empty) {
168+
transform: translate(0, globals.$ion-scale-100);
165169
}
166170

167171
:host(.avatar-xxsmall) ::slotted(ion-badge.badge-vertical-bottom:empty) {
168172
transform: translate(globals.$ion-scale-100, calc(globals.$ion-scale-100));
169173
}
170-
171-
:host(:not(.avatar-xxsmall)) ::slotted(ion-badge.badge-vertical-bottom:empty) {
172-
transform: translate(0, globals.$ion-scale-100);
173-
}

0 commit comments

Comments
 (0)