File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -14,24 +14,20 @@ export class UUIBadgeElement extends LitElement {
14
14
static styles = [
15
15
css `
16
16
:host {
17
- position: absolute;
17
+ position: var(--uui-badge-position, absolute) ;
18
18
display: flex;
19
19
justify-content: center;
20
20
align-items: center;
21
21
22
- /* top: -8px;
23
- right: -8px; */
24
22
padding: var(--uui-size-1) var(--uui-size-2);
25
- --uui-badge-inset: -8px -8px auto auto;
26
- /* 4 different ones */
27
- inset: var(--uui-badge-inset);
23
+ inset: var(--uui-badge-inset, -8px -8px auto auto);
28
24
29
25
text-align: center;
30
26
font-size: var(--uui-badge-font-size, var(--uui-type-small-size));
31
27
font-weight: 900;
32
28
line-height: 1;
33
29
34
- margin-right: 0 !important ;
30
+ margin-right: 0;
35
31
36
32
min-width: var(--uui-size-8);
37
33
min-height: var(--uui-size-8);
You can’t perform that action at this time.
0 commit comments