+ let zoomInput = null;
+ if(zoomLevel !== undefined) {
+ zoomInput =
this.changeStop(idx, {zoom: newZoom, value: dataLevel}, value)}
@@ -103,6 +105,10 @@ export default class DataProperty extends React.Component {
max={22}
/>
+ }
+
+ return
+ {zoomInput}
{dataInput}
diff --git a/src/styles/_zoomproperty.scss b/src/styles/_zoomproperty.scss
index 6911cb9..0c5adb0 100644
--- a/src/styles/_zoomproperty.scss
+++ b/src/styles/_zoomproperty.scss
@@ -126,6 +126,10 @@
}
.maputnik-data-spec-property-stop-data {
+ width: 100%;
+ }
+
+ .maputnik-data-spec-property-stop-edit + .maputnik-data-spec-property-stop-data {
width: 78%;
}
}