Added no WebGL error message to MapboxGL map component

This commit is contained in:
orangemug
2018-08-22 22:05:46 +01:00
parent 98c235bc21
commit 6207416b32
2 changed files with 35 additions and 4 deletions

View File

@@ -1,5 +1,6 @@
// MAP
.maputnik-map {
display: flex;
position: fixed !important;
top: $toolbar-height + $toolbar-offset;
right: 0;
@@ -10,6 +11,16 @@
- 200px /* layer list */
- 350px /* layer editor */
);
&--error {
align-items: center;
justify-content: center;
}
&__error-message {
margin: 16px;
text-align: center;
}
}
// DOC LABEL