Globe: Temporary fix for responsive sizing, Add correct margins top/bottom
All checks were successful
continuous-integration/drone/push Build is passing

- Ideally the globe would have to get the size within its container (.globe), set via CSS and not on the window
This commit is contained in:
2020-04-19 20:13:01 +02:00
parent 9220e6cf8d
commit 1cddc26625
7 changed files with 68 additions and 65 deletions

View File

@@ -69,17 +69,19 @@
z-index: 1;
top: 50%;
left: 50%;
transform: scale(0.6) translate(-50%, -50%);
transform: scale(0.6) translate(-50%, -50%) translateZ(0);
transform-origin: 0 0;
display: block;
width: 216px;
height: 216px;
width: 184px;
height: 184px;
background: rgba($color-lightpurple, 0.3);
border-radius: 100%;
transition: transform 0.3s $ease-quart, opacity 0.3s $ease-quart;
will-change: transform;
@include breakpoint (sm) {
transform: scale(0.94) translate(-50%, -50%);
width: 216px;
height: 216px;
}
}
}