Improve add layer button visually

This commit is contained in:
Lukas Martinelli 2017-01-11 20:48:15 +01:00
parent bcab165f97
commit 2e0cc4511c
2 changed files with 8 additions and 4 deletions

View file

@ -175,7 +175,7 @@ class LayerListContainer extends React.Component {
onLayersChange={this.props.onLayersChange} onLayersChange={this.props.onLayersChange}
/> />
<header className="maputnik-layer-list-header"> <header className="maputnik-layer-list-header">
<span>Layers</span> <span className="maputnik-layer-list-header-title">Layers</span>
<span className="maputnik-space" /> <span className="maputnik-space" />
<Button <Button
onClick={this.toggleModal.bind(this, 'add')} onClick={this.toggleModal.bind(this, 'add')}

View file

@ -5,9 +5,6 @@
.maputnik-layer-list { .maputnik-layer-list {
&-header{ &-header{
padding: $margin-2; padding: $margin-2;
font-weight: bold;
font-size: $font-size-5;
color: $color-white;
display: flex; display: flex;
display: -ms-flexbox; display: -ms-flexbox;
@include vendor-prefix(flex-direction, row) @include vendor-prefix(flex-direction, row)
@ -18,6 +15,13 @@
} }
} }
&-header-title {
font-size: $font-size-5;
color: $color-white;
font-weight: bold;
line-height: 1.3;
}
&-container { &-container {
padding: 0; padding: 0;
margin: 0; margin: 0;