Skip to content

Commit

Permalink
Oppgraderer styled-components, og fikser breaking changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas-CT committed Aug 18, 2023
1 parent bd2e8ca commit fdaf0f4
Show file tree
Hide file tree
Showing 5 changed files with 10,092 additions and 6,710 deletions.
2 changes: 1 addition & 1 deletion components/FellesModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const FellesModal = (props: FellesModalProps) => {
} = props;

useEffect(() => {
StyledModal.setAppElement('#__next');
Modal.setAppElement('#__next');
}, []);

return (
Expand Down
2 changes: 1 addition & 1 deletion components/VedleggRadio.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ interface VedleggRadioProp {
}

const StyledRadioGroup = styled(RadioGroup)`
:not(:last-child) {
&:not(:last-child) {
padding-bottom: 24px;
}
`;
Expand Down
2 changes: 1 addition & 1 deletion components/textStyle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const Bold = styled.span`
export const ErrorMessageWithDot = styled(ErrorMessage)`
display: flex;
gap: var(--a-spacing-2);
::before {
&::before {
content: '•';
}
`;
Expand Down
Loading

0 comments on commit fdaf0f4

Please sign in to comment.