mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-11-10 06:17:44 +01:00
Merge pull request #616 from orangemug/fix/error-bar-width
Fixed overflowing error bar
This commit is contained in:
commit
f268f09ca2
3 changed files with 7 additions and 7 deletions
|
@ -7,11 +7,7 @@
|
|||
right: 0;
|
||||
bottom: 0;
|
||||
height: calc(100% - #{$toolbar-height + $toolbar-offset});
|
||||
width: calc(
|
||||
100%
|
||||
- 200px /* layer list */
|
||||
- 350px /* layer editor */
|
||||
);
|
||||
width: $layout-map-width;
|
||||
|
||||
&--error {
|
||||
align-items: center;
|
||||
|
|
|
@ -40,9 +40,9 @@
|
|||
position: fixed;
|
||||
height: 50px;
|
||||
bottom: 0;
|
||||
left: 550px;
|
||||
right: 0;
|
||||
z-index: 1;
|
||||
width: 100%;
|
||||
width: $layout-map-width;
|
||||
background-color: $color-black;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,3 +21,7 @@ $font-family: Roboto, sans-serif;
|
|||
$toolbar-height: 40px;
|
||||
$toolbar-offset: 0;
|
||||
|
||||
$layout-list-width: 200px;
|
||||
$layout-editor-width: 370px;
|
||||
$layout-map-width: calc(100% - #{$layout-list-width + $layout-editor-width});
|
||||
|
||||
|
|
Loading…
Reference in a new issue