fix: tab overflow

This commit is contained in:
hamster1963 2024-10-22 10:56:55 +08:00
parent f65a7a8724
commit 7d23a20043

View File

@ -14,7 +14,7 @@ export default function TabSwitch({
setCurrentTab: (tab: string) => void;
}) {
return (
<div className="z-50 flex flex-col items-start overflow-x-scroll rounded-[50px]">
<div className="z-50 flex flex-col items-start 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