1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
This commit is contained in:
andreas-unleash 2022-07-22 14:05:15 +03:00
parent 47c33e62e1
commit d617eaaefc
3 changed files with 10 additions and 10 deletions

View File

@ -86,12 +86,6 @@ export const useStyles = makeStyles()(theme => ({
top: '-10px',
},
},
help: {
fill: theme.palette.grey[600],
[theme.breakpoints.down(860)]: {
display: 'none',
},
},
headerText: {
maxWidth: '400px',
fontSize: theme.fontSizes.smallBody,

View File

@ -6,4 +6,10 @@ export const useStyles = makeStyles()(theme => ({
display: 'grid',
gap: '1rem',
},
help: {
fill: theme.palette.grey[600],
[theme.breakpoints.down(860)]: {
display: 'none',
},
},
}));

View File

@ -8,7 +8,7 @@ import { objectId } from 'utils/objectId';
import { useStyles } from './ConstraintAccordionList.styles';
import { createEmptyConstraint } from 'component/common/ConstraintAccordion/ConstraintAccordionList/createEmptyConstraint';
import { ConditionallyRender } from 'component/common/ConditionallyRender/ConditionallyRender';
import { Button, IconButton } from '@mui/material';
import { Button } from '@mui/material';
import { Help } from '@mui/icons-material';
interface IConstraintAccordionListProps {
@ -109,10 +109,10 @@ export const ConstraintAccordionList = forwardRef<
href={
'https://docs.getunleash.io/advanced/strategy_constraints'
}
target="_blank"
rel="noopener noreferrer"
>
<IconButton>
<Help />
</IconButton>
<Help className={styles.help} />
</a>
</p>
<Button