Merge pull request #9792 from surajshetty3416/fix-response-message

fix: Response message style
This commit is contained in:
Suraj Shetty 2020-03-27 12:51:00 +05:30 committed by GitHub
commit 2f697ef290
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 %}