Skip to content

Commit

Permalink
fix(tabs): allow scrolling the panel contents (#761)
Browse files Browse the repository at this point in the history
* fix(tabs): add height of 100% to tab panel to allow scrolling the panel contents

* fix(tabs): add changelog
  • Loading branch information
michael-iden authored May 28, 2024
1 parent 6e98ede commit 4e8fcde
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/gorgeous-ducks-give.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ithaka/pharos': patch
---

Fix behavior allowing tab panel contents scroll independently of the page by setting a defined height on an element wrapping the tabs
Binary file modified .yarn/install-state.gz
Binary file not shown.
1 change: 1 addition & 0 deletions packages/pharos/src/components/tabs/pharos-tabs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
.tab__panels {
display: flex;
flex-direction: column;
height: 100%;
padding: var(--pharos-spacing-one-quarter-x);
}

Expand Down

0 comments on commit 4e8fcde

Please sign in to comment.