Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed

- Button spacing on application page
- Checkmark not aligning with checkbox on smaller screens
- Checkmark appearing on dropdown lists due to z-index
- Job interest dropdown colours

Expand Down
14 changes: 8 additions & 6 deletions src/shared/Form/FormikElements/Checkbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ const CheckboxContainer = styled.div`
transform: rotate(45deg);
position: relative;
left: 25px;
top: 3px;
z-index: 1;
top: 6px;
display: inline-block;
cursor: pointer;
}
Expand Down Expand Up @@ -86,11 +86,13 @@ const FormikCheckbox: React.StatelessComponent<ICheckboxProps & FieldProps> = ({
>
<LabelText label={labelElement} required={required} />
<CheckboxContainer>
<span className="checkmark">
<div className="checkmark_stem" />
<div className="checkmark_kick" />
</span>
<Checkbox {...field} checked={field.value} />
<Flex>
<span className="checkmark">
<div className="checkmark_stem" />
<div className="checkmark_kick" />
</span>
<Checkbox {...field} checked={field.value} />
</Flex>
</CheckboxContainer>
</Flex>
</Label>
Expand Down