diff options
author | Frederick Muriuki Muriithi | 2025-01-28 13:23:34 -0600 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2025-01-28 13:23:34 -0600 |
commit | a46b073ba2a7cb5f553107f2c8739175ba2f5f90 (patch) | |
tree | c4314a663e7e8b90ff3d87a323acd05cf777841e | |
parent | b7d42630366bccb754a9e179a3052fd0012ff284 (diff) | |
download | gn-uploader-a46b073ba2a7cb5f553107f2c8739175ba2f5f90.tar.gz |
Make alert larger.
-rw-r--r-- | uploader/authorisation.py | 2 | ||||
-rw-r--r-- | uploader/static/css/styles.css | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/uploader/authorisation.py b/uploader/authorisation.py index ee8fe97..bd3454c 100644 --- a/uploader/authorisation.py +++ b/uploader/authorisation.py @@ -18,7 +18,7 @@ def require_login(function): """Check that the user is logged in and their token is valid.""" def __clear_session__(_no_token): session.clear_session_info() - flash("You need to be logged in.", "alert-danger") + flash("You need to be logged in.", "alert-danger big-alert") return redirect("/") return session.user_token().either( diff --git a/uploader/static/css/styles.css b/uploader/static/css/styles.css index 7bd51a9..ef8725e 100644 --- a/uploader/static/css/styles.css +++ b/uploader/static/css/styles.css @@ -168,3 +168,9 @@ form .form-control { .sidebar-content .card-text table tbody td:nth-child(1) { font-weight: bolder; } + +.big-alert { + line-height: 1.5em; + padding: 0.5em 0 0.5em 3em; + margin-top: 0.2em; +} |