1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-23 00:22:19 +01:00

styling fixes

This commit is contained in:
andreas-unleash 2022-07-22 14:33:15 +03:00
parent 103ccc96d9
commit 408f24dcdd
2 changed files with 10 additions and 3 deletions

View File

@ -11,5 +11,12 @@ export const useStyles = makeStyles()(theme => ({
[theme.breakpoints.down(860)]: {
display: 'none',
},
marginLeft: '0.75rem',
},
addCustomLabel: {
display: 'flex',
flexDirection: 'row',
justifyContent: 'start',
margin: '0.75rem 0'
}
}));

View File

@ -103,8 +103,8 @@ export const ConstraintAccordionList = forwardRef<
condition={Boolean(showCreateButton && onAdd)}
show={
<div>
<p>
Add any number of custom constraints
<div className={styles.addCustomLabel}>
<p>Add any number of custom constraints</p>
<Tooltip title="Help" arrow>
<a
href={
@ -116,7 +116,7 @@ export const ConstraintAccordionList = forwardRef<
<Help className={styles.help} />
</a>
</Tooltip>
</p>
</div>
<Button
type="button"
onClick={onAdd}