mirror of
https://github.com/maputnik/editor.git
synced 2025-12-28 09:00:02 +00:00
Ensure zoom icon is nice
This commit is contained in:
@@ -123,14 +123,15 @@ export default class ZoomSpecField extends React.Component {
|
||||
}}>
|
||||
{label}
|
||||
<Button
|
||||
style={{backgroundColor: null}}
|
||||
style={{backgroundColor: null, verticalAlign: 'top'}}
|
||||
onClick={this.deleteStop.bind(this, idx)}
|
||||
>
|
||||
<DeleteIcon />
|
||||
</Button>
|
||||
<NumberInput
|
||||
style={{
|
||||
width: '7.5%'
|
||||
width: '7.5%',
|
||||
verticalAlign: 'top',
|
||||
}}
|
||||
value={zoomLevel}
|
||||
onChange={changedStop => this.changeStop(idx, changedStop, value)}
|
||||
@@ -169,7 +170,11 @@ export default class ZoomSpecField extends React.Component {
|
||||
/>
|
||||
{this.props.fieldSpec['zoom-function'] &&
|
||||
<Button
|
||||
style={{backgroundColor: null}}
|
||||
style={{
|
||||
verticalAlign: 'top',
|
||||
backgroundColor: null,
|
||||
display: 'inline-block',
|
||||
}}
|
||||
onClick={this.makeZoomFunction.bind(this)}
|
||||
>
|
||||
<FunctionIcon />
|
||||
|
||||
Reference in New Issue
Block a user