From 725253f601e69662f3923386ef0bb6355c96165f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20K=C3=BCndig?= Date: Fri, 5 Apr 2019 17:20:53 +0200 Subject: [PATCH] Added overflow rules to preview form-control (#4236) Credit to @tobias-kuendig --- modules/system/assets/ui/less/form.less | 1 + modules/system/assets/ui/storm.css | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/system/assets/ui/less/form.less b/modules/system/assets/ui/less/form.less index d6f443d25..38503f80e 100644 --- a/modules/system/assets/ui/less/form.less +++ b/modules/system/assets/ui/less/form.less @@ -216,6 +216,7 @@ height: auto; min-height: 38px; border-color: #eee; + word-break: break-word; .box-shadow(none); } diff --git a/modules/system/assets/ui/storm.css b/modules/system/assets/ui/storm.css index 64f19aa2e..86891465f 100644 --- a/modules/system/assets/ui/storm.css +++ b/modules/system/assets/ui/storm.css @@ -4209,7 +4209,7 @@ html.cssanimations .cursor-loading-indicator.hide {display:none} .form-group.input-sidebar-control .sidebar-control {position:absolute;right:8px;top:34px;font-size:16px;color:#c4c4c4} .form-group.input-sidebar-control .sidebar-control:hover, .form-group.input-sidebar-control .sidebar-control:focus {text-decoration:none;color:#0181b9;outline:none} -.form-group-preview .form-control {background-color:#f6f6f6;color:#555;height:auto;min-height:38px;border-color:#eee;-webkit-box-shadow:none;box-shadow:none} +.form-group-preview .form-control {background-color:#f6f6f6;color:#555;height:auto;min-height:38px;border-color:#eee;word-break:break-word;-webkit-box-shadow:none;box-shadow:none} .form-group-preview .custom-checkbox label, .form-group-preview .custom-radio label {cursor:default} .help-block {font-size:13px;margin-bottom:0}