Skip to content

Commit

Permalink
fix(fab): add styles for icon-wrapper-host element in angular
Browse files Browse the repository at this point in the history
  • Loading branch information
epetrow authored and Juveniel committed Mar 28, 2023
1 parent 42e0bb1 commit b07ffe2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/default/scss/fab/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
width: $kendo-fab-icon-width;
height: $kendo-fab-icon-height;

.k-icon-wrapper-host:not(:only-child) &,
&:not(:only-child) {
margin-right: $kendo-fab-icon-spacing;
margin-left: -$kendo-fab-icon-spacing;
Expand Down
1 change: 1 addition & 0 deletions packages/fluent/scss/fab/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
width: var( --kendo-fab-icon-width, #{$kendo-fab-icon-width} );
height: var( --kendo-fab-icon-height, #{$kendo-fab-icon-height} );

.k-icon-wrapper-host:not(:only-child) &,
&:not(:only-child) {
margin-inline-end: var( --kendo-fab-icon-spacing, #{$kendo-fab-icon-spacing} );
margin-inline-start: calc( var( --kendo-fab-icon-spacing, #{$kendo-fab-icon-spacing} ) * -1 );
Expand Down

0 comments on commit b07ffe2

Please sign in to comment.