Enable rotated map controls

parent 0dd21389
Pipeline #79 passed with stage
in 1 minute and 27 seconds
......@@ -7,7 +7,7 @@
center: [45.4771659, 9.2297918],
zoom: 19,
scrollWheelZoom: false,
zoomControl: false
zoomControl: true,
dragging: false,
tap: false
});
......
......@@ -12778,6 +12778,8 @@ CONTACT PAGE STYLING
clip-path: polygon(0% calc(100vw * 0.052), 100% 0%, 100% calc(100% - calc(100vw * 0.052)), 0% 100%); }
#home-hq-map .leaflet-bottom.leaflet-right {
transform: translateY(calc(calc(100vw * -0.052335956242943835) - 38px)) rotate(-3deg); }
#home-hq-map .leaflet-top.leaflet-left {
transform: translateY(calc(calc(100vw * 0.052335956242943835))); }
.before-map {
padding-bottom: 35px; }
.before-map p:last-of-type {
......
......@@ -317,10 +317,16 @@ CONTACT PAGE STYLING
-webkit-clip-path: polygon(0% calc(100vw * 0.052), 100% 0%, 100% calc(100% - calc(100vw * 0.052)), 0% 100%);
clip-path: polygon(0% calc(100vw * 0.052), 100% 0%, 100% calc(100% - calc(100vw * 0.052)), 0% 100%);
// -0.052335956242943835 == sin(-3deg)
// Contributors badge
.leaflet-bottom.leaflet-right {
// -0.052335956242943835 == sin(-3deg)
transform: translateY(calc(calc(100vw * -0.052335956242943835) - 38px)) rotate($rotation);
}
// Zoom control
.leaflet-top.leaflet-left {
transform: translateY(calc(calc(100vw * 0.052335956242943835)));
}
}
.before-map {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment