1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 00:03:28 +01:00

Format error messages (#737)

Currently error messages display on a single line that can be difficult
to scroll. This updates the CSS slightly to allow the message to spread
over multiple lines if needed.
This commit is contained in:
Ed Summers 2022-08-09 18:03:00 -04:00 committed by GitHub
parent 7432299079
commit 4f1a6303fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -39,3 +39,7 @@ header .language-select a:hover {
text-decoration: underline;
}
.error pre {
white-space: pre-wrap;
text-align: left;
}

View File

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% block title %}{{ _('Pywb Error') }}{% endblock %}
{% block body %}
<div class="container text-danger">
<div class="container text-danger error">
<div class="row justify-content-center">
<h2 class="display-2">Pywb Error</h2>
</div>