Skip to content

Commit

Permalink
make buttons round (#1871)
Browse files Browse the repository at this point in the history
  • Loading branch information
djnunez-aot authored Jul 25, 2023
1 parent 38fa25b commit 1eacb10
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
3 changes: 0 additions & 3 deletions met-web/src/components/Form/formio-bootstrap.scss
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,6 @@
display:inline-block;
margin-bottom:.5rem
}
button{
border-radius:0
}
button:focus:not(:focus-visible){
outline:0
}
Expand Down
2 changes: 0 additions & 2 deletions met-web/src/components/common/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ const StyledToggleButton = styled(ToggleButton)(({ theme }) => ({
'&.Mui-selected': {
backgroundColor: Palette.primary.main,
color: '#fff',
border: 'none',
'&:hover': {
backgroundColor: Palette.primary.main,
},
Expand All @@ -100,7 +99,6 @@ const StyledToggleButton = styled(ToggleButton)(({ theme }) => ({
textDecoration: 'underline',
backgroundColor: Palette.primary.main,
color: '#FFFFFF',
border: `2px solid ${Palette.primary.main}`,
'&.Mui-selected:hover': {
textDecoration: 'underline',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { If, Then, Else } from 'react-if';
import { EngagementTabsContext } from './EngagementTabsContext';
import { SUBMISSION_STATUS } from 'constants/engagementStatus';
import DayCalculatorModal from '../DayCalculator';
import { ENGAGEMENT_CROPPER_ASPECT_RATIO, ENGAGMENET_UPLOADER_HEIGHT } from './constants';
import { ENGAGEMENT_CROPPER_ASPECT_RATIO, ENGAGEMENT_UPLOADER_HEIGHT } from './constants';
import RichTextEditor from 'components/common/RichTextEditor';

const CREATE = 'create';
Expand Down Expand Up @@ -308,7 +308,7 @@ const EngagementForm = () => {
handleAddFile={handleAddBannerImage}
savedImageUrl={savedEngagement.banner_url}
savedImageName={savedEngagement.banner_filename}
height={ENGAGMENET_UPLOADER_HEIGHT}
height={ENGAGEMENT_UPLOADER_HEIGHT}
cropAspectRatio={ENGAGEMENT_CROPPER_ASPECT_RATIO}
/>
</Grid>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ export const ENGAGEMENT_FORM_TABS: { [x: string]: EngagementFormTabValues } = {
USER_MANAGEMENT: 'User Management',
};

export const ENGAGMENET_UPLOADER_HEIGHT = '360px';
export const ENGAGEMENT_UPLOADER_HEIGHT = '360px';
export const ENGAGEMENT_CROPPER_ASPECT_RATIO = 1920 / 700;

0 comments on commit 1eacb10

Please sign in to comment.