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") }} -
{{ message or "" }}
{% if primary_action %}