From 5dfbd267cebafde8dfc8dad5cba963b31c70646a Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Fri, 15 Apr 2016 15:11:44 +0100 Subject: [PATCH] Wrap long words in SMS template previews If you put, for example, a URL in an SMS template it can be very long. This can cause it to overflow its container. This commit forces it to wrap instead. Related: https://github.com/alphagov/notifications-admin/pull/439 --- app/assets/stylesheets/components/sms-message.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/stylesheets/components/sms-message.scss b/app/assets/stylesheets/components/sms-message.scss index ec702ee2f..b7ebd7144 100644 --- a/app/assets/stylesheets/components/sms-message.scss +++ b/app/assets/stylesheets/components/sms-message.scss @@ -10,6 +10,7 @@ white-space: normal; margin: 0 0 $gutter 0; clear: both; + word-wrap: break-word; p { margin: 0;