@@ -22,14 +22,14 @@ export const Balances = ({ rootOrgId }: { rootOrgId: string }) => {
2222 < h1 className = "text-5xl" > Welcome</ h1 >
2323
2424 < Tabs . Root defaultValue = "evm" className = "max-w-2xl mx-auto mt-8" >
25- < Tabs . List className = "flex" >
25+ < Tabs . List className = "flex flex-col sm:flex-row px-2 " >
2626 < TabTrigger
2727 value = "evm"
2828 title = "EVM Balance"
2929 address = { account ?. predictedAddress }
3030 fiatBalance = { balancesQuery . data ?. balances . totalBalance . fiatValue }
3131 isLoading = { balancesQuery . status === "pending" }
32- className = "rounded-l-xl"
32+ className = "sm: rounded-l-xl rounded-t-xl sm:rounded-tr-none "
3333 />
3434
3535 { btcWallet . _tag === "NoWallet" ? (
@@ -82,7 +82,7 @@ export const Balances = ({ rootOrgId }: { rootOrgId: string }) => {
8282 title = "BTC Balance"
8383 address = { btcAddress ?. address }
8484 fiatBalance = { balancesQuery . data ?. btcBalance ?. fiatValue }
85- className = "rounded-r-xl"
85+ className = "sm: rounded-r-xl rounded-b-xl sm:rounded-bl-none "
8686 isLoading = { balancesQuery . status === "pending" }
8787 disabled
8888 />
@@ -92,7 +92,7 @@ export const Balances = ({ rootOrgId }: { rootOrgId: string }) => {
9292 title = "BTC Balance"
9393 address = { undefined }
9494 fiatBalance = { undefined }
95- className = "rounded-r-xl"
95+ className = "sm: rounded-r-xl rounded-b-xl sm:rounded-bl-none "
9696 isLoading = { balancesQuery . status === "pending" }
9797 disabled
9898 />
@@ -168,7 +168,7 @@ const TabTrigger = (
168168 return (
169169 < Tabs . Trigger
170170 { ...rest }
171- className = { `flex aria-selected:bg-surface-level-2 p-5 text-left w-1/2 border border-surface-level-2 ${
171+ className = { `flex aria-selected:bg-surface-level-2 p-5 text-left w-full sm:w- 1/2 border border-surface-level-2 ${
172172 props . className ?? ""
173173 } `}
174174 asChild
0 commit comments