Skip to content

Commit

Permalink
Fix price chart in iOS safari
Browse files Browse the repository at this point in the history
  • Loading branch information
slaweet committed Feb 16, 2018
1 parent fdd4655 commit d5e95c0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
9 changes: 9 additions & 0 deletions src/components/dashboard/currencyGraph.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,15 @@
}
}

@media (--medium-viewport) {
.wrapper {
min-height: 300px;
}

.chartWrapper {
min-height: 230px;
}
}
@media (--small-viewport) {
.stepSwitchWrapper {
margin: 45px 0;
Expand Down
4 changes: 3 additions & 1 deletion src/components/dashboard/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,16 @@
.wrapper {
& .colHack {
padding: 0;
max-width: 100%;
flex-basis: 100%;
}

margin: 0;
}

.graph {
height: 60%;
min-height: auto;
min-height: 300px;
margin-bottom: 0;
}

Expand Down

0 comments on commit d5e95c0

Please sign in to comment.