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<{
actions?: ReactNode;
change:
@ -325,13 +332,13 @@ export const StrategyChange: FC<{
);
const actionsWithTabs = (
<div>
<ActionsContainer>
<TabList>
<Tab>Change</Tab>
<Tab>View diff</Tab>
</TabList>
{actions}
</div>
</ActionsContainer>
);
return (