mirror of
https://github.com/maputnik/editor.git
synced 2026-08-01 10:47:26 +00:00
Improve input styling (it is still hacky)
This commit is contained in:
@@ -90,7 +90,7 @@ class ColorField extends React.Component {
|
|||||||
ref="colorInput"
|
ref="colorInput"
|
||||||
onClick={this.togglePicker.bind(this)}
|
onClick={this.togglePicker.bind(this)}
|
||||||
style={{
|
style={{
|
||||||
...input.select,
|
...input.input,
|
||||||
...this.props.style
|
...this.props.style
|
||||||
}}
|
}}
|
||||||
name={this.props.name}
|
name={this.props.name}
|
||||||
|
|||||||
+2
-2
@@ -38,8 +38,8 @@ const checkbox = {
|
|||||||
|
|
||||||
const select = {
|
const select = {
|
||||||
...input,
|
...input,
|
||||||
width: '51%',
|
width: '50%',
|
||||||
height: '2.3em',
|
height: '2.15em',
|
||||||
}
|
}
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
|||||||
Reference in New Issue
Block a user