Only scroll to selected item in <LayerList/> if not already in view.

This commit is contained in:
orangemug
2020-04-06 15:30:16 +01:00
parent 3be6cb5926
commit 313b639a5f
3 changed files with 19 additions and 5 deletions
+3
View File
@@ -1,5 +1,8 @@
// LAYER LIST
.maputnik-layer-list {
height: 100%;
overflow: auto;
&-header {
padding: $margin-2 $margin-2 $margin-3;