Skip to content

Commit c3e330c

Browse files
committed
add vertical to class name
1 parent a010083 commit c3e330c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@
5656
position: absolute;
5757
}
5858

59-
:host(:empty.badge-top) {
59+
:host(:empty.badge-vertical-top) {
6060
top: 0;
6161
}
6262

63-
:host(:empty.badge-bottom) {
63+
:host(:empty.badge-vertical-bottom) {
6464
bottom: 0;
6565
}

core/src/components/badge/badge.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export class Badge implements ComponentInterface {
9595
[theme]: true,
9696
[`badge-${shape}`]: shape !== undefined,
9797
[`badge-${size}`]: size !== undefined,
98-
[`badge-${this.vertical}`]: this.vertical !== undefined,
98+
[`badge-vertical-${this.vertical}`]: this.vertical !== undefined,
9999
})}
100100
>
101101
<slot></slot>

0 commit comments

Comments
 (0)