mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-27 08:45:28 +01:00
Improve add layer button visually
This commit is contained in:
parent
bcab165f97
commit
2e0cc4511c
2 changed files with 8 additions and 4 deletions
|
@ -175,7 +175,7 @@ class LayerListContainer extends React.Component {
|
|||
onLayersChange={this.props.onLayersChange}
|
||||
/>
|
||||
<header className="maputnik-layer-list-header">
|
||||
<span>Layers</span>
|
||||
<span className="maputnik-layer-list-header-title">Layers</span>
|
||||
<span className="maputnik-space" />
|
||||
<Button
|
||||
onClick={this.toggleModal.bind(this, 'add')}
|
||||
|
|
|
@ -5,9 +5,6 @@
|
|||
.maputnik-layer-list {
|
||||
&-header{
|
||||
padding: $margin-2;
|
||||
font-weight: bold;
|
||||
font-size: $font-size-5;
|
||||
color: $color-white;
|
||||
display: flex;
|
||||
display: -ms-flexbox;
|
||||
@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 {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
|
|
Loading…
Reference in a new issue