Skip to content

Commit

Permalink
Fix js error message in dev mode
Browse files Browse the repository at this point in the history
  • Loading branch information
oskarhane committed Oct 8, 2018
1 parent 1162d93 commit e30b135
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions src/browser/modules/Sync/styled.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import styled from 'styled-components'
export const ConsentCheckBox = props => {
return (
<StyledP>
<CheckBoxLabel for='syncConsentCheckbox'>
<CheckBoxLabel htmlFor='syncConsentCheckbox'>
<StyledCheckBox
{...props}
type='checkbox'
Expand All @@ -43,7 +43,8 @@ export const ConsentCheckBox = props => {
target='blank'
>
Privacy Policy
</StyledSimpleLink>.
</StyledSimpleLink>
.
</CheckBoxLabel>
</StyledP>
)
Expand All @@ -69,7 +70,8 @@ export const ClearLocalConfirmationBox = props => {
browsers local storage
</AlertP>
<AlertP>
What do you want to do?<br />
What do you want to do?
<br />
<SmallText>
(nothing,{' '}
<StyledSimpleLink onClick={props.onClick}>cancel</StyledSimpleLink>)
Expand All @@ -82,7 +84,9 @@ export const ClearLocalConfirmationBox = props => {
const StyledP = styled.p``
const StyledCheckBox = styled.input``

const CheckBoxLabel = styled.label`display: inline-block;`
const CheckBoxLabel = styled.label`
display: inline-block;
`

const AlertDiv = styled.div`
color: #8a6d3b;
Expand All @@ -102,11 +106,17 @@ const CloseButton = styled.button`
line-height: 1;
`

export const SmallText = styled.span`font-size: 85%;`
export const SmallText = styled.span`
font-size: 85%;
`

export const SmallHeaderText = styled.span`font-size: 11px;`
export const SmallHeaderText = styled.span`
font-size: 11px;
`

const AlertP = styled.p`margin: 10px;`
const AlertP = styled.p`
margin: 10px;
`

export const StyledSimpleLink = styled.a`
cursor: pointer;
Expand Down

0 comments on commit e30b135

Please sign in to comment.