Skip to content

Commit

Permalink
Mpopov/remove tree height (#460)
Browse files Browse the repository at this point in the history
* feat(tree): remove height from the host
  • Loading branch information
desig9stein authored Jul 28, 2022
1 parent dea3353 commit c71fd5f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion src/components/tree/themes/light/tree.base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

:host {
display: block;
height: 100%;
overflow: auto;
font-family: var(--igc-font-family);
}
3 changes: 1 addition & 2 deletions stories/tree.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,7 @@ const BasicTemplate: Story<ArgTypes, Context> = (
{ globals: { direction } }: Context
) => {
return html`
<div style="height: 250px;">
<igc-tree
<igc-tree style="height: 250px"
id="tree"
.size=${size}
.selection=${selection}
Expand Down

0 comments on commit c71fd5f

Please sign in to comment.