Skip to content

Commit

Permalink
Improved onboarding wording, removed debug.json from release builds, …
Browse files Browse the repository at this point in the history
…fixed <Switch> layout
  • Loading branch information
pklaschka committed Oct 4, 2020
1 parent 871440a commit fa4c825
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions src/components/general-elements/switch.scss
Original file line number Diff line number Diff line change
@@ -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;
}
Expand All @@ -19,6 +23,7 @@
}

.switch-label {
flex: 1 1;
padding-left: 0.7rem;
}

Expand Down
2 changes: 1 addition & 1 deletion src/components/onboarding.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
</Switch>
</>
)}
Expand Down

0 comments on commit fa4c825

Please sign in to comment.