Add dragging cursor on Globe

This commit is contained in:
2021-10-03 19:59:03 +02:00
parent dca5372fc5
commit 1e921ab4a0
2 changed files with 52 additions and 19 deletions

View File

@@ -33,25 +33,28 @@
// }
// END DEBUG //
/*
** Cropped globe
** States and Variants
*/
// When dragging
&.is-grabbing {
cursor: grabbing;
}
// Cropped globe
&--cropped {
overflow: hidden;
height: clamp(300px, 30vw, 500px);
}
/*
** Markers
*/
&__markers {
z-index: 210;
// When dragging
&.is-grabbing {
cursor: grabbing;
}
// Marker
.marker {
position: absolute;