Adjust alerts

master
Skylar Ittner 6 years ago
parent eefa7ab00f
commit ee47026c0e

@ -74,7 +74,7 @@ if (!is_empty($_GET['page'])) {
} }
echo <<<END echo <<<END
<div class="row justify-content-center" id="msg-alert-box"> <div class="row justify-content-center" id="msg-alert-box">
<div class="col-11 col-xs-6 col-md-6 col-lg-6 col-xl-4"> <div class="col-11 col-sm-6 col-md-5 col-lg-4 col-xl-4">
<div class="alert alert-dismissible alert-$alerttype"> <div class="alert alert-dismissible alert-$alerttype">
<button type="button" class="close">&times;</button> <button type="button" class="close">&times;</button>
<i class="fas fa-$alerticon"></i> $alertmsg <i class="fas fa-$alerticon"></i> $alertmsg

@ -28,13 +28,14 @@ body {
} }
#main-content { #main-content {
padding-top: 3rem; padding-top: 1rem;
} }
#msg-alert-box { #msg-alert-box {
position: fixed; position: fixed;
left: 0; left: 0;
right: 0; right: 0;
top: 4rem;
z-index: 999999; z-index: 999999;
padding: 0px 5px; padding: 0px 5px;
} }

Loading…
Cancel
Save