stylesheets: ensure that fixed flash errors are presented above the map
This commit is contained in:
parent
00d3cbc182
commit
c6fdbe8256
2 changed files with 6 additions and 0 deletions
|
@ -7,3 +7,6 @@ $default-padding: 2 * $default-spacer;
|
||||||
// layouts
|
// layouts
|
||||||
$two-columns-padding: 60px;
|
$two-columns-padding: 60px;
|
||||||
$two-columns-breakpoint: $page-width + (2 * $two-columns-padding);
|
$two-columns-breakpoint: $page-width + (2 * $two-columns-padding);
|
||||||
|
|
||||||
|
// z-order
|
||||||
|
$alert-z-index: 100;
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
@import "colors";
|
@import "colors";
|
||||||
|
@import "constants";
|
||||||
|
|
||||||
.alert {
|
.alert {
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
|
@ -28,4 +29,6 @@
|
||||||
width: 200px;
|
width: 200px;
|
||||||
top: 10px;
|
top: 10px;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
|
// Ensure fixed flash messages are above `position: absolute` elements (like maps)
|
||||||
|
z-index: $alert-z-index;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue