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:
parent
1a1a24b4b2
commit
3a397391b2
@ -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 (
|
||||
|
Loading…
Reference in New Issue
Block a user