mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-28 01:45:26 +01:00
Fixed data function display issues.
This commit is contained in:
parent
94089836bf
commit
b7d08dfaa6
3 changed files with 59 additions and 56 deletions
|
@ -49,8 +49,15 @@ export default class DocLabel extends React.Component {
|
|||
</div>
|
||||
</label>
|
||||
}
|
||||
else if (label) {
|
||||
return <label className="maputnik-doc-wrapper">
|
||||
<div className="maputnik-doc-target">
|
||||
{label}
|
||||
</div>
|
||||
</label>
|
||||
}
|
||||
else {
|
||||
return <div />
|
||||
<div />
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -260,6 +260,8 @@ export default class DataProperty extends React.Component {
|
|||
/>
|
||||
</div>
|
||||
</div>
|
||||
</InputBlock>
|
||||
</div>
|
||||
{dataFields}
|
||||
<Button
|
||||
className="maputnik-add-stop"
|
||||
|
@ -267,8 +269,6 @@ export default class DataProperty extends React.Component {
|
|||
>
|
||||
Add stop
|
||||
</Button>
|
||||
</InputBlock>
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
}
|
||||
|
|
|
@ -96,10 +96,6 @@
|
|||
.maputnik-data-spec-property-input {
|
||||
width: 75%;
|
||||
display: inline-block;
|
||||
|
||||
.maputnik-string {
|
||||
margin-bottom: 3%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue