fix for Flash message not displaying in detached map
This commit is contained in:
@ -974,8 +974,6 @@ code {
|
|||||||
|
|
||||||
@media only screen and (min-width: 993px) {
|
@media only screen and (min-width: 993px) {
|
||||||
.iframe-scroll {
|
.iframe-scroll {
|
||||||
position: fixed !important;
|
|
||||||
margin-top: 75px;
|
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -87,6 +87,13 @@
|
|||||||
margin:25px 0;
|
margin:25px 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.flashMessage {
|
||||||
|
position:fixed;
|
||||||
|
margin: 0 auto;
|
||||||
|
z-index: 2;
|
||||||
|
top: 160px;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.map-buttons {
|
.map-buttons {
|
||||||
|
@ -340,6 +340,7 @@ $(document).ready(function() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (String(window.location).match(/\/map$/ig)) {
|
if (String(window.location).match(/\/map$/ig)) {
|
||||||
|
$('body>.flashMessage').find('.alert').css('display', 'none');
|
||||||
$('.map-fixed-header').css('top', '50px');
|
$('.map-fixed-header').css('top', '50px');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -10,6 +10,7 @@ block content
|
|||||||
span.input-group-addon
|
span.input-group-addon
|
||||||
i.fa.fa-search
|
i.fa.fa-search
|
||||||
hr
|
hr
|
||||||
|
include ../partials/flash
|
||||||
#accordion.map-accordion
|
#accordion.map-accordion
|
||||||
#noneFound No results found. Happy Coding!
|
#noneFound No results found. Happy Coding!
|
||||||
for superBlock, index in superBlocks
|
for superBlock, index in superBlocks
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
.row
|
.row.flashMessage
|
||||||
.col-xs-12
|
.col-xs-12
|
||||||
if (messages.errors || messages.error)
|
if (messages.errors || messages.error)
|
||||||
.alert.alert-danger.fade.in
|
.alert.alert-danger.fade.in
|
||||||
|
Reference in New Issue
Block a user