1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-11-14 09:14:52 +01:00

fix cropped graph on mobile (#276)

This commit is contained in:
Matthias Kretschmann 2020-12-01 11:42:49 +01:00 committed by GitHub
parent dac47bf524
commit fdf518401c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,10 +3,17 @@
display: flex;
align-items: center;
justify-content: center;
margin: calc(var(--spacer) / 6) -2rem calc(var(--spacer) / 1.5) -2rem;
margin: calc(var(--spacer) / 6) -1.35rem calc(var(--spacer) / 1.5) -1.35rem;
position: relative;
}
@media (min-width: 40rem) {
.graphWrap {
margin-left: -2rem;
margin-right: -2rem;
}
}
.graphWrap canvas {
position: relative;
z-index: 0;