Skip to content

Commit 79eb503

Browse files
committed
fix: Tabs not displaying correctly on mobile screen, Fixes #8184
1 parent 5a19912 commit 79eb503

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

packages/styles/src/tabs/Tabs.style.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,7 @@ export const styles = createStyles<TabsInstance>({
2727
}
2828
],
2929
list: 'p-tablist',
30-
content: ({ context }) => [
31-
'p-tablist-content',
32-
{
33-
'p-tablist-viewport': context.scrollable
34-
}
35-
],
30+
content: 'p-tablist-content p-tablist-viewport',
3631
tabList: 'p-tablist-tab-list',
3732
activeBar: 'p-tablist-active-bar',
3833
prevButton: 'p-tablist-prev-button p-tablist-nav-button',

0 commit comments

Comments
 (0)