Skip to content

Commit

Permalink
Issue #PS-1534 feat: Foundation Course detail view UI implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyas1434shinde committed Aug 8, 2024
1 parent d0f028f commit 8412749
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/FormButtons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ const FormButtons: React.FC<FormButtons> = ({
padding: '16px',
background: '#fff',
display: 'flex',
justifyContent: 'center',
justifyContent: isSingleButton ? 'center' : 'space-between',
gap: '15px',
}}
>
{!isCreateCentered && !isCreatedFacilitator && (
{!isSingleButton && !isCreateCentered && !isCreatedFacilitator && (
<Button
variant="outlined"
color="primary"
Expand Down Expand Up @@ -75,7 +75,7 @@ const FormButtons: React.FC<FormButtons> = ({
height: '2.5rem',
padding: theme.spacing(1),
fontWeight: '500',
width: '48%',
width: isSingleButton ? '100%' : '48%',
}}
type="submit"
onClick={() => onClick(formData)}
Expand Down

0 comments on commit 8412749

Please sign in to comment.