}
diff --git a/src/components/Button.jsx b/src/components/Button.jsx
index 0b94046e..a7892060 100644
--- a/src/components/Button.jsx
+++ b/src/components/Button.jsx
@@ -11,17 +11,8 @@ class Button extends React.Component {
render() {
return
}
diff --git a/src/components/ScrollContainer.jsx b/src/components/ScrollContainer.jsx
index 017f768b..7425300d 100644
--- a/src/components/ScrollContainer.jsx
+++ b/src/components/ScrollContainer.jsx
@@ -1,15 +1,7 @@
import React from 'react'
const ScrollContainer = (props) => {
- return
+ return
{props.children}
}
diff --git a/src/components/Toolbar.jsx b/src/components/Toolbar.jsx
index 288c6cce..1efa4a8e 100644
--- a/src/components/Toolbar.jsx
+++ b/src/components/Toolbar.jsx
@@ -30,22 +30,14 @@ const IconText = props =>
{props.children}
-const actionStyle = {
- display: "inline-block",
- padding: 10,
- fontSize: fontSizes[4],
- cursor: "pointer",
- color: colors.white,
- textDecoration: 'none',
-}
-
const ToolbarLink = props =>
+ }}
+ >
{props.children}
@@ -54,20 +46,12 @@ class ToolbarAction extends React.Component {
onClick: React.PropTypes.func.isRequired,
}
- constructor(props) {
- super(props)
- this.state = { hover: false }
- }
-
render() {
return
this.setState({hover: true})}
- onMouseOut={e => this.setState({hover: false})}
style={{
- ...actionStyle,
...this.props.style,
- backgroundColor: this.state.hover ? colors.gray : null,
}}>
{this.props.children}
@@ -116,15 +100,7 @@ export default class Toolbar extends React.Component {
}
render() {
- return
+ return
@@ -69,6 +70,7 @@ class ColorField extends React.Component {
onChange={c => this.props.onChange(formatColor(c))}
/>
- return
+ return
{this.state.pickerOpened && picker}
this.setState({showDoc: true})}
onMouseOut={e => this.setState({showDoc: false})}
+ className="maputnik-doc-target"
style={{
cursor: 'help',
...this.props.cursorTargetStyle,
@@ -48,7 +47,9 @@ export default class DocLabel extends React.Component {
width: 120,
display: this.state.showDoc ? null : 'none',
zIndex: 3,
- }}>
+ }}
+ className="maputnik-doc-popup"
+ >
{this.props.doc}
diff --git a/src/components/fields/PropertyGroup.jsx b/src/components/fields/PropertyGroup.jsx
index 90b7b33e..415c4dae 100644
--- a/src/components/fields/PropertyGroup.jsx
+++ b/src/components/fields/PropertyGroup.jsx
@@ -66,7 +66,7 @@ export default class PropertyGroup extends React.Component {
/>
})
- return
+ return
{fields}
}
diff --git a/src/components/fields/ZoomSpecField.jsx b/src/components/fields/ZoomSpecField.jsx
index 8205b452..2fe6ea86 100644
--- a/src/components/fields/ZoomSpecField.jsx
+++ b/src/components/fields/ZoomSpecField.jsx
@@ -105,6 +105,7 @@ export default class ZoomSpecField extends React.Component {
if(idx === 1) {
label =