Skip to content

Commit

Permalink
chore(combobox): fix horizontal position of clear button
Browse files Browse the repository at this point in the history
  • Loading branch information
Magdalena Grigorova authored and Magdalena Grigorova committed Apr 19, 2018
1 parent 0d6a4e9 commit c0415a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion packages/bootstrap/scss/combobox/_layout.scss
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
@import "~@progress/kendo-theme-default/scss/combobox/layout";
$close-icon-position-y: calc(#{$input-padding-x} + #{$button-padding-y} * 2 + #{$icon-size}) !default; // $input-padding-x + combobox-button-width

@import "~@progress/kendo-theme-default/scss/combobox/layout";
2 changes: 1 addition & 1 deletion packages/default/scss/combobox/_layout.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Button inner size should be calculated with the widget font-size instead of the icon-size
$close-icon-position-y: calc(#{$input-padding-x} + #{$button-padding-y} + #{$form-line-height * $font-size}); // $input-padding-x + button-inner-size()
$close-icon-position-y: calc(#{$input-padding-x} + #{$button-padding-y} * 2 + #{$form-line-height * $font-size}) !default;; // $input-padding-x + button-inner-size()

@include exports("combobox/layout") {

Expand Down

0 comments on commit c0415a8

Please sign in to comment.