1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-06-18 01:18:23 +02: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)]: { [theme.breakpoints.down(860)]: {
display: 'none', 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)} condition={Boolean(showCreateButton && onAdd)}
show={ show={
<div> <div>
<p> <div className={styles.addCustomLabel}>
Add any number of custom constraints <p>Add any number of custom constraints</p>
<Tooltip title="Help" arrow> <Tooltip title="Help" arrow>
<a <a
href={ href={
@ -116,7 +116,7 @@ export const ConstraintAccordionList = forwardRef<
<Help className={styles.help} /> <Help className={styles.help} />
</a> </a>
</Tooltip> </Tooltip>
</p> </div>
<Button <Button
type="button" type="button"
onClick={onAdd} onClick={onAdd}