Skip to content

Commit

Permalink
fix: update PrevNextButtons styles
Browse files Browse the repository at this point in the history
  • Loading branch information
r41ph committed Mar 10, 2025
1 parent fa778bb commit 9896001
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ export const useStyles = makeStyles()(theme => ({
btn: {
padding: `${theme.spacing(3)} !important`,
minWidth: 0,
height: '100%',
[theme.breakpoints.up('sm')]: {
fontSize: theme.spacing(4),
fontSize: theme.spacing(4.5),
},
[theme.breakpoints.down('sm')]: {
fontSize: theme.spacing(3),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,26 +16,32 @@ export const PrevNextButtons = ({
onSave,
saveDisabled,
saveText,
className = '',
className,
}: Props) => {
const { classes } = useStyles();
return (
<div className={className}>
{onPrev && (
<OutlinedButton
className={cn(classes.btn, 'mr-10 sm:mr-20')}
className={cn(
classes.btn,
'mr-10 sm:mr-20 h-50 sm:h-60 w-50 sm:w-60',
)}
onClick={onPrev}
>
<ArrowDownIcon
fontSize="small"
direction="prev"
// color={theme.palette.secondary.main}
className="w-[24px] h-[24px]"
/>
</OutlinedButton>
)}
<ContainedButton
type="submit"
className={classes.btn}
className={cn(
classes.btn,
'!py-[13px] sm:!py-[17px] !px-[30px] sm:!px-[43px] h-50 sm:h-60',
)}
onClick={onSave}
disabled={saveDisabled}
>
Expand Down

0 comments on commit 9896001

Please # to comment.