From c86d597077d77f6357fde84b9e952d747becd2d7 Mon Sep 17 00:00:00 2001 From: Qiang Xue Date: Mon, 26 Aug 2013 08:39:27 -0400 Subject: [PATCH] css fix. --- framework/yii/debug/assets/main.css | 3 ++- framework/yii/gii/assets/main.css | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/framework/yii/debug/assets/main.css b/framework/yii/debug/assets/main.css index 259256f..6cb65dd 100644 --- a/framework/yii/debug/assets/main.css +++ b/framework/yii/debug/assets/main.css @@ -147,5 +147,6 @@ ul.trace { } td, th { - overflow: auto; + white-space: pre; + word-wrap: break-word; } diff --git a/framework/yii/gii/assets/main.css b/framework/yii/gii/assets/main.css index 36f5634..8efc56c 100644 --- a/framework/yii/gii/assets/main.css +++ b/framework/yii/gii/assets/main.css @@ -44,7 +44,8 @@ body { .default-view .sticky-value { padding: 6px 12px; background: lightyellow; - overflow: auto; + white-space: pre; + word-wrap: break-word; } .default-view .form-group label.help {