Write on the margins of the internet. Powered by the AT Protocol. margin.at
extension web atproto comments

fix: do not overflow tabs on mobile

+2 -2
+2 -2
web/src/components/ui/Tabs.tsx
··· 1 - import React from "react"; 2 1 import { clsx } from "clsx"; 2 + import React from "react"; 3 3 4 4 interface Tab { 5 5 id: string; ··· 23 23 return ( 24 24 <div 25 25 className={clsx( 26 - "flex gap-1 bg-surface-100 dark:bg-surface-800 p-1 rounded-lg w-fit", 26 + "flex max-w-full overflow-x-auto gap-1 bg-surface-100 dark:bg-surface-800 p-1 rounded-lg w-fit", 27 27 className, 28 28 )} 29 29 >