Improve styles and text

This commit is contained in:
Lukas Martinelli 2017-01-16 15:43:52 +01:00
parent 7e3aa09d3e
commit 11e9cef834
2 changed files with 19 additions and 2 deletions

View file

@ -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()}

View file

@ -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;
}
}