mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-28 17:51:16 +01:00
Improve styles and text
This commit is contained in:
parent
7e3aa09d3e
commit
11e9cef834
2 changed files with 19 additions and 2 deletions
|
@ -156,7 +156,8 @@ class Gist extends React.Component {
|
|||
value={this.state.preview}
|
||||
name='gist-style-preview'
|
||||
onChange={this.onPreviewChange.bind(this)}
|
||||
/> including preview
|
||||
/>
|
||||
<span> Include preview</span>
|
||||
{this.state.preview ?
|
||||
<div>
|
||||
<InputBlock
|
||||
|
@ -165,7 +166,7 @@ class Gist extends React.Component {
|
|||
value={this.props.mapStyle.metadata['maputnik:openmaptiles_access_token']}
|
||||
onChange={this.changeMetadataProperty.bind(this, "maputnik:openmaptiles_access_token")}/>
|
||||
</InputBlock>
|
||||
<a target="_blank" href="https://openmaptiles.com/hosting/">Get access token for free</a>
|
||||
<a target="_blank" href="https://openmaptiles.com/hosting/">Get your free access token</a>
|
||||
</div>
|
||||
: null}
|
||||
{this.renderLatestGist()}
|
||||
|
|
|
@ -181,3 +181,19 @@
|
|||
margin-right: $margin-3;
|
||||
float: right;
|
||||
}
|
||||
|
||||
//EXPORT MODAL
|
||||
.maputnik-export-gist {
|
||||
.maputnik-input-block {
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
|
||||
label {
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
font-size: $font-size-6;
|
||||
span {
|
||||
color: $color-lowgray;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue