diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7588e66a..a3cd2f8d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,6 +28,8 @@ jobs: with: node-version: 12 registry-url: https://registry.npmjs.org/ + - name: Remove debug.json file for production build + run: rm dist/debug.json - run: npm ci - name: Tests run: npm test diff --git a/src/components/general-elements/switch.scss b/src/components/general-elements/switch.scss index ef36f44f..9e4180de 100644 --- a/src/components/general-elements/switch.scss +++ b/src/components/general-elements/switch.scss @@ -1,11 +1,15 @@ .switch { + display: flex; + * { display: inline-block; } .switch-outer { + flex: 0 0 1.8rem; width: 1.8rem; height: 1rem; + margin-top: 0; background: #eaeaea; border-radius: 0.5rem; } @@ -19,6 +23,7 @@ } .switch-label { + flex: 1 1; padding-left: 0.7rem; } diff --git a/src/components/onboarding.tsx b/src/components/onboarding.tsx index 0a737ca7..e86c5858 100644 --- a/src/components/onboarding.tsx +++ b/src/components/onboarding.tsx @@ -151,7 +151,7 @@ export function OnboardingPage() { setState({ ...state, privacyPolicy: newVal }) } value={state.privacyPolicy}> - I have read and agree to the privacy policy. + I have read and accept the privacy policy. )}