From 34d854e9c0d4bdcf97b7df4530efb4ca48cb22af Mon Sep 17 00:00:00 2001 From: Suraj Shetty Date: Thu, 26 Mar 2020 17:52:34 +0530 Subject: [PATCH] fix: Response message style --- frappe/templates/styles/card_style.css | 10 +++++++++- frappe/www/message.html | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/frappe/templates/styles/card_style.css b/frappe/templates/styles/card_style.css index f5b002a17f..595d974011 100644 --- a/frappe/templates/styles/card_style.css +++ b/frappe/templates/styles/card_style.css @@ -28,4 +28,12 @@ } .page-card p { font-size: 14px; -} \ No newline at end of file +} + +.ellipsis { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + max-width: 100%; + vertical-align: middle; +} diff --git a/frappe/www/message.html b/frappe/www/message.html index 2919592901..87d311d9cc 100644 --- a/frappe/www/message.html +++ b/frappe/www/message.html @@ -24,7 +24,7 @@ html, body { {{ title or _("Message") }} -
+
{% block message_body %}

{{ message or "" }}

{% if primary_action %}