From 57206cbac3fe19cd5968d2f2faa019fa63f8918f Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 23 Feb 2012 13:40:26 +0000 Subject: [PATCH] white-space: nowrap for table in date-widget --- etemplate/inc/class.date_widget.inc.php | 1 + etemplate/templates/default/app.css | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/etemplate/inc/class.date_widget.inc.php b/etemplate/inc/class.date_widget.inc.php index 76c9ce878a..069be39af7 100644 --- a/etemplate/inc/class.date_widget.inc.php +++ b/etemplate/inc/class.date_widget.inc.php @@ -337,6 +337,7 @@ class date_widget $cell['type'] = 'template'; $cell['name'] = $tpl->name; $cell['obj'] = &$tpl; + $cell['span'] .= (strpos($cell['span'],',')===false?',':'').($cell['span']?' ':'').'eTdate'; return True; // extra Label is ok } diff --git a/etemplate/templates/default/app.css b/etemplate/templates/default/app.css index 8574c15eb5..e12d93a576 100644 --- a/etemplate/templates/default/app.css +++ b/etemplate/templates/default/app.css @@ -144,4 +144,9 @@ padding-right: 15px; } - +/** + * class for table in data_widget + */ +.eTdate { + white-space: nowrap; +}