Skip to content

Commit b7838e6

Browse files
cytommiThomas Wang
andauthored
center tablist (#74)
Co-authored-by: Thomas Wang <[email protected]>
1 parent b55673a commit b7838e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/webview-common/src/components/tablist.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const Tablist = ({ activeIndex, onChange, items }: TablistProps) => {
1515
};
1616

1717
return (
18-
<div role="tablist" className="inline-flex text-gray-600 dark:text-gray-400">
18+
<div role="tablist" className="flex flex-wrap justify-center text-gray-600 dark:text-gray-400">
1919
{items.map((item, index) => (
2020
<button
2121
key={item.name}

0 commit comments

Comments
 (0)