Skip to content

Commit 21ec559

Browse files
authored
fix(ui5-button): apply correct font-family: 72 (#825)
1 parent d9ea302 commit 21ec559

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

packages/main/src/themes/Button.css

+2-4
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
height: var(--_ui5_button_base_height);
1010
font-family: var(--sapUiFontFamily);
1111
font-size: var(--sapMFontMediumSize);
12+
text-shadow: var(--_ui5_button_text_shadow);
1213
border-radius: var(--_ui5_button_border_radius);
1314
border-width: 0.0625rem;
1415
cursor: pointer;
@@ -50,21 +51,18 @@
5051
cursor: inherit;
5152
height: 100%;
5253
width: 100%;
53-
font-weight: normal;
5454
box-sizing: border-box;
5555
display: flex;
5656
justify-content: center;
5757
align-items: center;
58-
text-shadow: var(--_ui5_button_text_shadow);
5958
outline: none;
6059
padding: 0 var(--_ui5_button_base_padding);
6160
position: relative;
6261
background: transparent;
6362
border: none;
64-
font-size: inherit;
6563
color: inherit;
6664
text-shadow: inherit;
67-
font-weight: inherit;
65+
font: inherit;
6866
}
6967

7068
:host(:not([active]):hover) {

packages/main/test/sap/ui/webcomponents/main/pages/Popover.html

-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@
5555
<ui5-button id="btn">Click me !</ui5-button>
5656

5757
<ui5-popover header-text="My Heading" id="pop" style="width: 300px" placement-type="Top">
58-
5958
<!-- <div slot="header">
6059
Hello World
6160
</div> -->

0 commit comments

Comments
 (0)