Browse Source

Adjust alerts

master
Skylar Ittner 1 year ago
parent
commit
ee47026c0e
2 changed files with 3 additions and 2 deletions
  1. 1
    1
      app.php
  2. 2
    1
      static/css/app.css

+ 1
- 1
app.php View File

@@ -74,7 +74,7 @@ if (!is_empty($_GET['page'])) {
}
echo <<<END
<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">
<button type="button" class="close">&times;</button>
<i class="fas fa-$alerticon"></i> $alertmsg

+ 2
- 1
static/css/app.css View File

@@ -28,13 +28,14 @@ body {
}

#main-content {
padding-top: 3rem;
padding-top: 1rem;
}

#msg-alert-box {
position: fixed;
left: 0;
right: 0;
top: 4rem;
z-index: 999999;
padding: 0px 5px;
}

Loading…
Cancel
Save