1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-08-27 13:49:10 +02:00

wrap strategy actions correctly

This commit is contained in:
Thomas Heartman 2025-07-02 10:05:04 +02:00
parent 1a1a24b4b2
commit 3a397391b2

View File

@ -299,6 +299,13 @@ const AddStrategy: FC<{
</> </>
); );
const ActionsContainer = styled('div')(({ theme }) => ({
display: 'flex',
flexFlow: 'row wrap',
alignItems: 'center',
columnGap: theme.spacing(1),
}));
export const StrategyChange: FC<{ export const StrategyChange: FC<{
actions?: ReactNode; actions?: ReactNode;
change: change:
@ -325,13 +332,13 @@ export const StrategyChange: FC<{
); );
const actionsWithTabs = ( const actionsWithTabs = (
<div> <ActionsContainer>
<TabList> <TabList>
<Tab>Change</Tab> <Tab>Change</Tab>
<Tab>View diff</Tab> <Tab>View diff</Tab>
</TabList> </TabList>
{actions} {actions}
</div> </ActionsContainer>
); );
return ( return (