Skip to content

Commit

Permalink
Merge pull request #1018 from oasisprotocol/mz/tabScroll
Browse files Browse the repository at this point in the history
Enable scrollable tabs
  • Loading branch information
buberdds authored Nov 17, 2023
2 parents 9cc1cc9 + 4fd152e commit 63f2d78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .changelog/1018.trivial.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Enable scrollable tabs
2 changes: 1 addition & 1 deletion src/app/components/RouterTabs/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export function RouterTabs<Context>({ tabs, context }: RouterTabsProps<Context>)

return (
<>
<Tabs value={currentTab?.to}>
<Tabs value={currentTab?.to} variant="scrollable" scrollButtons={false}>
{tabs
.filter(tab => tab === currentTab || tab.visible !== false)
.map(tab => (
Expand Down

0 comments on commit 63f2d78

Please sign in to comment.