Browse Source
Merge pull request #805 from LN-Zap/fix/remove-title-bar
fix(onboarding): replace title bar with padding
renovate/lint-staged-8.x
Tom Kirkpatrick
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
1 additions and
10 deletions
-
app/components/Onboarding/FormContainer/FormContainer.js
-
app/components/Onboarding/FormContainer/FormContainer.scss
|
|
@ -14,8 +14,6 @@ import styles from './FormContainer.scss' |
|
|
|
|
|
|
|
const FormContainer = ({ title, description, back, next, children, theme }) => ( |
|
|
|
<div className={styles.container}> |
|
|
|
<div className={styles.titleBar} /> |
|
|
|
|
|
|
|
<header className={styles.header}> |
|
|
|
<section> |
|
|
|
<Isvg src={theme === 'light' ? zapLogoBlack : zapLogo} /> |
|
|
|
|
|
@ -6,18 +6,11 @@ |
|
|
|
background: var(--darkestBackground); |
|
|
|
} |
|
|
|
|
|
|
|
.titleBar { |
|
|
|
background: var(--lightBackground); |
|
|
|
height: 20px; |
|
|
|
-webkit-user-select: none; |
|
|
|
-webkit-app-region: drag; |
|
|
|
} |
|
|
|
|
|
|
|
.header { |
|
|
|
display: flex; |
|
|
|
flex-direction: row; |
|
|
|
justify-content: space-between; |
|
|
|
padding: 20px 40px; |
|
|
|
padding: 40px 40px 20px 40px; |
|
|
|
|
|
|
|
.help { |
|
|
|
color: var(--primaryText); |
|
|
|