Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -239,3 +239,11 @@ body > .footer {
background-color: #fff;
}
}

.alert-top {
margin-bottom: -71px;
padding-top: 85px;
@media screen and (max-width: 767px) {
padding-top: 150px;
}
}
5 changes: 5 additions & 0 deletions app/views/layouts/bookingsync_portal/_warning_top.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<%- if yield(:warning_top).present? -%>
<div class="alert alert-warning alert-top" role="alert">
<%= yield(:warning_top) %>
</div>
<%- end -%>
1 change: 1 addition & 0 deletions app/views/layouts/bookingsync_portal/admin.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
</head>
<body data-messagebus-channel="<%= messagebus_channel %>">
<%= render partial: '/layouts/bookingsync_portal/menu' %>
<%= render partial: '/layouts/bookingsync_portal/warning_top' %>
<div class="container container-fullscreen">
<%= render '/layouts/bookingsync_portal/flash' %>
<%= yield %>
Expand Down