Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CSS injection order #1330

Merged
merged 17 commits into from
Jul 31, 2023
Merged
74 changes: 0 additions & 74 deletions src/components/AltinnCheckBox.test.tsx

This file was deleted.

48 changes: 0 additions & 48 deletions src/components/AltinnCheckBox.tsx

This file was deleted.

70 changes: 0 additions & 70 deletions src/components/AltinnInput.test.tsx

This file was deleted.

104 changes: 0 additions & 104 deletions src/components/AltinnInput.tsx

This file was deleted.

4 changes: 2 additions & 2 deletions src/components/EditIconButton.module.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.editButton {
font-weight: 700 !important;
margin-top: 30px !important;
font-weight: 700;
margin-top: 30px;
}
51 changes: 0 additions & 51 deletions src/components/SuccessIconButton.tsx

This file was deleted.

13 changes: 12 additions & 1 deletion src/components/ThemeWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,18 @@ export const ThemeWrapper = ({ children }: ThemeWrapperProps) => {
direction,
})}
>
<div className={isRtl ? 'language-dir-rtl' : ''}>{children}</div>
<div
style={
isRtl
? {
direction: 'rtl',
textAlign: 'right',
}
: undefined
}
>
{children}
</div>
</ThemeProvider>
);
};
Loading
Loading