Skip to content

Commit

Permalink
fix: enable default icon size to be changed (#629)
Browse files Browse the repository at this point in the history
move the default font size to the host element so it can be styled externally
  • Loading branch information
pskelin committed Jul 5, 2019
1 parent 833a1c2 commit a44cdc6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/main/src/themes/Icon.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
:host(ui5-icon:not([hidden])) {
:host(:not([hidden])) {
display: inline-block;
outline: none;
color: var(--sapUiContentNonInteractiveIconColor);
font-size: var(--sapUiFontSize);
}

ui5-icon:not([hidden]) {
display: inline-block;
outline: none;
color: var(--sapUiContentNonInteractiveIconColor);
font-size: var(--sapUiFontSize);
}

.sapWCIcon {
Expand All @@ -25,7 +27,6 @@ ui5-icon:not([hidden]) {
content: attr(data-sap-ui-icon-content);
speak: none;
font-weight: normal;
font-size: var(--sapUiFontSize);
-webkit-font-smoothing: antialiased;
display: flex;
justify-content: center;
Expand Down

0 comments on commit a44cdc6

Please sign in to comment.