mirror of
https://github.com/maputnik/editor.git
synced 2026-08-26 06:57:26 +00:00
Fix GeoJSON and default source issue in Sources modal
This commit is contained in:
@@ -93,9 +93,9 @@ class AddSource extends React.Component {
|
|||||||
constructor(props) {
|
constructor(props) {
|
||||||
super(props)
|
super(props)
|
||||||
this.state = {
|
this.state = {
|
||||||
mode: 'tilejson',
|
mode: 'tilejson_vector',
|
||||||
sourceId: style.generateId(),
|
sourceId: style.generateId(),
|
||||||
source: this.defaultSource('tilejson'),
|
source: this.defaultSource('tilejson_vector'),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -45,7 +45,7 @@
|
|||||||
// BUTTON
|
// BUTTON
|
||||||
.maputnik-button {
|
.maputnik-button {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
background-color: $color-gray;
|
background-color: $color-midgray;
|
||||||
color: $color-lowgray;
|
color: $color-lowgray;
|
||||||
font-size: $font-size-6;
|
font-size: $font-size-6;
|
||||||
padding: $margin-2;
|
padding: $margin-2;
|
||||||
|
|||||||
Reference in New Issue
Block a user