Skip to content

Commit

Permalink
Fix votes preview styles on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
slaweet committed Feb 14, 2018
1 parent 08977ce commit f53a8f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/components/votesPreview/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class VotesPreview extends React.Component {
<span>{surpassMessage()}</span>
<FontIcon value='close' onClick={this.dismissSurpassMessage.bind(this)} />
</footer>
<div className={styles.bla}>
<div className={styles.footerWrapper}>
<Button
className={`${styles.button} next`}
type='button'
Expand Down
7 changes: 2 additions & 5 deletions src/components/votesPreview/votesPreview.css
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,12 @@
}
}

.bla {
.footerWrapper {
margin: 0 51px 56px;
text-align: center;
}

.button {
margin: 0 51px 76px;
width: auto;

& span:last-child {
font-size: 16px;
display: none;
Expand Down Expand Up @@ -233,7 +230,7 @@
}
}

& .bla {
& .footerWrapper {
margin: 0;
}

Expand Down

0 comments on commit f53a8f6

Please sign in to comment.