mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-28 16:41:17 +01:00
Improve input styling (it is still hacky)
This commit is contained in:
parent
916c1dc9fc
commit
acac314d27
2 changed files with 3 additions and 3 deletions
|
@ -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}
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue