From ac5dd80d69c1e86f6a97dd0d484f7fabb8643f24 Mon Sep 17 00:00:00 2001 From: Filip Siderov Date: Tue, 11 Jun 2019 09:38:58 +0300 Subject: [PATCH] feat(ui5-label): expose font-weight property on root tag --- packages/main/src/themes/Label.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/main/src/themes/Label.css b/packages/main/src/themes/Label.css index d3787709052a..0a1e16568b51 100644 --- a/packages/main/src/themes/Label.css +++ b/packages/main/src/themes/Label.css @@ -1,10 +1,11 @@ :host(ui5-label:not([hidden])) { display: inline-flex; max-width: 100%; - cursor: text; color: var(--sapUiContentLabelColor); font-family: var(--sapUiFontFamily); font-size: var(--sapMFontMediumSize); + font-weight: normal; + cursor: text; } ui5-label:not([hidden]) { @@ -14,13 +15,14 @@ ui5-label:not([hidden]) { color: var(--sapUiContentLabelColor); font-family: var(--sapUiFontFamily); font-size: var(--sapMFontMediumSize); + font-weight: normal; cursor: text; } .sapMLabel { display: inline-block; width: 100%; - font-weight: normal; + font-weight: inherit; text-overflow: ellipsis; overflow: hidden; white-space: nowrap;