Skip to content

Commit

Permalink
fix: group switch overflow on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
hamster1963 committed Nov 29, 2024
1 parent 2f26d8b commit 9c1d37c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/GroupSwitch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ export default function GroupSwitch({
setCurrentTab: (tab: string) => void;
}) {
return (
<div className="z-50 flex flex-col items-start rounded-[50px]">
<div
className="scrollbar-hidden z-50 flex flex-col items-start overflow-x-scroll rounded-[50px]"
>
<div className="flex items-center gap-1 rounded-[50px] bg-stone-100 p-[3px] dark:bg-stone-800">
{tabs.map((tab: string) => (
<div
Expand Down

0 comments on commit 9c1d37c

Please sign in to comment.