Skip to content

Commit 88c794a

Browse files
authored
feat(ui5-label): expose font-weight property on root tag (#534)
1 parent 1d812e5 commit 88c794a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/main/src/themes/Label.css

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
:host(ui5-label:not([hidden])) {
22
display: inline-flex;
33
max-width: 100%;
4-
cursor: text;
54
color: var(--sapUiContentLabelColor);
65
font-family: var(--sapUiFontFamily);
76
font-size: var(--sapMFontMediumSize);
7+
font-weight: normal;
8+
cursor: text;
89
}
910

1011
ui5-label:not([hidden]) {
@@ -14,13 +15,14 @@ ui5-label:not([hidden]) {
1415
color: var(--sapUiContentLabelColor);
1516
font-family: var(--sapUiFontFamily);
1617
font-size: var(--sapMFontMediumSize);
18+
font-weight: normal;
1719
cursor: text;
1820
}
1921

2022
.sapMLabel {
2123
display: inline-block;
2224
width: 100%;
23-
font-weight: normal;
25+
font-weight: inherit;
2426
text-overflow: ellipsis;
2527
overflow: hidden;
2628
white-space: nowrap;

0 commit comments

Comments
 (0)