diff --git a/includes/helper/message_helper.php b/includes/helper/message_helper.php
index e4058b0b..52c63eb3 100644
--- a/includes/helper/message_helper.php
+++ b/includes/helper/message_helper.php
@@ -100,7 +100,7 @@ function alert($class, $msg, $immediately = false)
}
if ($immediately) {
- return '
' . $msg . '
';
+ return '' . $msg . '
';
}
$session = session();
diff --git a/resources/assets/themes/base.scss b/resources/assets/themes/base.scss
index c94d7c09..d0d6963f 100644
--- a/resources/assets/themes/base.scss
+++ b/resources/assets/themes/base.scss
@@ -357,14 +357,14 @@ code {
}
.conversation {
+ align-content: flex-start;
height: 55vh;
overflow-x: hidden;
overflow-y: auto;
-}
-.message {
- max-width: 75%;
- display: inline-block;
+ .alert {
+ max-width: 75%;
+ }
}
/* Hide the arrow up/down buttons rendered by the browser in the input field */
diff --git a/resources/views/errors/419.twig b/resources/views/errors/419.twig
index dcfec022..a9545af2 100644
--- a/resources/views/errors/419.twig
+++ b/resources/views/errors/419.twig
@@ -3,5 +3,5 @@
{% block title %}{{ __("Authentication expired") }}{% endblock %}
{% block content %}
- {{ __("The provided CSRF token is invalid or has expired") }}
+ {{ __("The provided CSRF token is invalid or has expired") }}
{% endblock %}
diff --git a/resources/views/errors/default.twig b/resources/views/errors/default.twig
index 30960b7e..e3c76d15 100644
--- a/resources/views/errors/default.twig
+++ b/resources/views/errors/default.twig
@@ -5,7 +5,7 @@
{% block content %}
{% block content_container %}
-
+
{% block content_headline %}
{% block content_headline_text %}Error {{ status }}{% endblock %}
diff --git a/resources/views/macros/base.twig b/resources/views/macros/base.twig
index 15f84ea2..2fc1ca2b 100644
--- a/resources/views/macros/base.twig
+++ b/resources/views/macros/base.twig
@@ -7,7 +7,7 @@
{% endmacro %}
{% macro alert(message, type, raw) %}
-
+
{%- if raw|default(false) -%}
{{ message|raw }}
{%- else -%}
diff --git a/resources/views/pages/messages/conversation.twig b/resources/views/pages/messages/conversation.twig
index d9eb03c9..41eb3c2a 100644
--- a/resources/views/pages/messages/conversation.twig
+++ b/resources/views/pages/messages/conversation.twig
@@ -13,19 +13,21 @@
-
-
+
+
{% for msg in messages %}
{% set own_message = msg.user_id == user.id %}
-
-
{{ msg.text | nl2br }}
-
+
+
+
{{ msg.text | nl2br }}
+
+