Skip to content

Commit

Permalink
fix(button): size inner icon of button instead the button itself
Browse files Browse the repository at this point in the history
  • Loading branch information
joneff committed Jan 3, 2022
1 parent d9ca91e commit f728632
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/default/scss/button/_layout.scss
Expand Up @@ -78,8 +78,6 @@
.k-icon-button,
.k-button.k-button-icon {
padding: $button-padding-y;
width: $button-calc-size;
height: $button-calc-size;
gap: 0;

> .k-text,
Expand All @@ -89,6 +87,8 @@

.k-button-icon {
margin: 0;
min-width: calc( #{$button-font-size} * #{$button-line-height} );
min-height: calc( #{$button-font-size} * #{$button-line-height} );
}
}
// TODO: REMOVE
Expand Down
5 changes: 5 additions & 0 deletions packages/default/scss/map/_layout.scss
Expand Up @@ -79,6 +79,11 @@
line-height: 1;
box-shadow: none;
position: absolute;

.k-icon {
min-width: 0;
min-height: 0;
}
}
.k-navigator-n,
.k-navigator-up {
Expand Down

0 comments on commit f728632

Please sign in to comment.