We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c981156 commit 150a100Copy full SHA for 150a100
packages/main/src/themes/Badge.css
@@ -1,7 +1,7 @@
1
@import "./InvisibleTextStyles.css";
2
3
:host(:not([hidden])) {
4
- display: inline-flex;
+ display: inline-block;
5
height: 1.125em;
6
min-width: 1.125em;
7
max-width: 100%;
@@ -21,11 +21,14 @@
21
}
22
23
::slotted(ui5-icon) {
24
- width: 0.75em;
25
- height: 0.75em;
26
- flex-shrink: 0;
+ width: .75em;
+ height: .75em;
27
28
+/* IE 11 specific selector */
29
+ui5-badge ui5-icon[slot="icon"] {
30
+ display: flex;
31
+}
32
33
:host([__has-icon]) .ui5-badge-text {
34
padding-left: 0.1875em;
@@ -97,9 +100,10 @@
97
100
98
101
99
102
.ui5-badge-root {
103
104
align-items: center;
105
width: 100%;
106
+ height: 100%;
107
box-sizing: border-box;
108
109
0 commit comments