Skip to content

Commit

Permalink
fix: tab panel takes up full width
Browse files Browse the repository at this point in the history
  • Loading branch information
Kodylow committed Oct 15, 2024
1 parent 351bbfb commit fdcdf40
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion apps/router/src/gateway-ui/Gateway.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,10 @@ export const Gateway = () => {
index={activeTab}
onChange={setActiveTab}
orientation='vertical'
display='flex'
height='100%'
>
<Flex>
<Flex width='100%'>
<TabList flexDirection='column' minWidth='200px' p={4}>
<Tab justifyContent='flex-start' mb={2}>
{t('wallet.title')}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,10 @@ export const FederationTabsCard: React.FC<FederationTabsCardProps> = ({
index={activeTab}
onChange={setActiveTab}
orientation='vertical'
display='flex'
height='100%'
>
<Flex>
<Flex width='100%'>
<TabList flexDirection='column' minWidth='200px' p={4}>
<Tab justifyContent='flex-start' mb={2}>
{t('federation-dashboard.info.label')}
Expand Down

0 comments on commit fdcdf40

Please sign in to comment.