mirror of
https://github.com/Unleash/unleash.git
synced 2025-10-13 11:17:26 +02:00
Extracts the shared strategy list and list item into the `common` folder instead of living in the environment accordion body file. Also takes the disabled strategy handling that we use for `StrategySeparator` and moves it into the file itself. It might be something we want to decorate manually in the future, but we don't for now, so this was the most straight-forward way to make it work.
19 lines
415 B
TypeScript
19 lines
415 B
TypeScript
import { styled } from '@mui/material';
|
|
|
|
export const StrategyList = styled('ol')(({ theme }) => ({
|
|
listStyle: 'none',
|
|
padding: 0,
|
|
margin: 0,
|
|
|
|
'& > li': {
|
|
paddingBlock: theme.spacing(2.5),
|
|
position: 'relative',
|
|
},
|
|
'& > li + li': {
|
|
borderTop: `1px solid ${theme.palette.divider}`,
|
|
},
|
|
'& > li:first-of-type': {
|
|
paddingTop: theme.spacing(1),
|
|
},
|
|
}));
|