ui: Fix overflow of exception text in message

- Without the change, the exception information formatted in <pre> overflows the
alert's boundaries and make a long line. With the change, it now sows a
horizontal scrollbar instead.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
Sunil Mohan Adapa 2024-11-15 16:27:28 -08:00 committed by Veiko Aasa
parent 9f9c8879b4
commit 618a0caec3
No known key found for this signature in database
GPG Key ID: 478539CAE680674E

View File

@ -320,6 +320,12 @@ html {
margin-bottom: 2rem;
}
/* When an exception's text is shown in message as alert component, don't
overflow the alert's width. */
.alert.d-flex div {
max-width: 100%;
}
/* Remove tag button */
.tag-badge .remove-tag {
background-color: transparent; /* Match the tag's background color */