fix: Response message style

This commit is contained in:
Suraj Shetty 2020-03-26 17:52:34 +05:30
parent bce278f43e
commit 34d854e9c0
2 changed files with 10 additions and 2 deletions

View file

@ -28,4 +28,12 @@
}
.page-card p {
font-size: 14px;
}
}
.ellipsis {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 100%;
vertical-align: middle;
}

View file

@ -24,7 +24,7 @@ html, body {
<span class='indicator {{ indicator_color or "blue" }}'>
{{ title or _("Message") }}</span>
</h5>
<div class="page-card-body">
<div class="page-card-body ellipsis">
{% block message_body %}
<p>{{ message or "" }}</p>
{% if primary_action %}