mirror of
https://github.com/maputnik/editor.git
synced 2025-12-26 08:00:01 +00:00
Style open modal
This commit is contained in:
@@ -30,7 +30,6 @@ class InputBlock extends React.Component {
|
||||
|
||||
render() {
|
||||
return <div style={{
|
||||
...input.property,
|
||||
...this.props.style,
|
||||
}}
|
||||
className="maputnik-input-block"
|
||||
|
||||
@@ -69,9 +69,7 @@ class NumberInput extends React.Component {
|
||||
render() {
|
||||
return <input
|
||||
className="maputnik-number"
|
||||
style={{
|
||||
...this.props.style
|
||||
}}
|
||||
style={this.props.style}
|
||||
placeholder={this.props.default}
|
||||
value={this.state.value}
|
||||
onChange={e => this.changeValue(e.target.value)}
|
||||
|
||||
@@ -23,10 +23,7 @@ class StringInput extends React.Component {
|
||||
render() {
|
||||
return <input
|
||||
className="maputnik-string"
|
||||
style={{
|
||||
...input.input,
|
||||
...this.props.style
|
||||
}}
|
||||
style={this.props.style}
|
||||
value={this.state.value}
|
||||
placeholder={this.props.default}
|
||||
onChange={e => this.setState({ value: e.target.value })}
|
||||
|
||||
Reference in New Issue
Block a user