mirror of
https://github.com/maputnik/editor.git
synced 2026-12-06 16:54:20 +00:00
Better inspection hover
This commit is contained in:
1 parent
8f561d8a27
commit
4db5c7cf68
6 files changed
+109
-97
No files matched your search
@@ -7,6 +7,7 @@ class InputBlock extends React.Component {
|
||||
static propTypes = {
|
||||
label: React.PropTypes.string.isRequired,
|
||||
children: React.PropTypes.element.isRequired,
|
||||
style: React.PropTypes.object,
|
||||
}
|
||||
|
||||
onChange(e) {
|
||||
@@ -19,6 +20,7 @@ class InputBlock extends React.Component {
|
||||
display: 'block',
|
||||
marginTop: margins[2],
|
||||
marginBottom: margins[2],
|
||||
...this.props.style,
|
||||
}}>
|
||||
<label style={input.label}>{this.props.label}</label>
|
||||
{this.props.children}
|
||||
|
||||
Reference in new issue
Block a user