diff options
| author | Christopher Burger <burgerc@freeside.biz> | 2018-10-11 10:14:32 -0400 |
|---|---|---|
| committer | Christopher Burger <burgerc@freeside.biz> | 2018-10-31 14:08:40 -0400 |
| commit | 09e6ae36f7ba0f3571dc5f890959365e16de110a (patch) | |
| tree | c6d06307b1114bb9f7b1073f4b7f8aaf1c274675 /httemplate/elements | |
| parent | 5f37f71c5ab6d255e42c0443c8ce8e1dbd8e4c3e (diff) | |
RT# 73382 - fixed formatting issue with calendar
Diffstat (limited to 'httemplate/elements')
| -rw-r--r-- | httemplate/elements/customer-table.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/httemplate/elements/customer-table.html b/httemplate/elements/customer-table.html index 9f76384d2..0e4bfa65a 100644 --- a/httemplate/elements/customer-table.html +++ b/httemplate/elements/customer-table.html @@ -640,6 +640,7 @@ and probably should be cleaned up more before being used by anything else. var my_cell = document.createElement('TD'); my_cell.setAttribute('align', '<% $align{ $opt{align}->[$col] || 'l' } %>'); + my_cell.style.whiteSpace = 'nowrap'; % if ($opt{'color'}->[$col]) { my_cell.style.color = '<% $opt{color}->[$col] %>'; % } @@ -667,6 +668,7 @@ and probably should be cleaned up more before being used by anything else. my_input_button.setAttribute('title', <% mt('Select date') |js_string %>); my_input_button.setAttribute('name', '<% $name %>'+thisrownum+'button'); my_input_button.setAttribute('id', '<% $name %>'+thisrownum+'button'); + my_input_button.style.verticalAlign = 'top'; % } my_input.value = (values && values.<% $field %>) || ''; % if ( $opt{onchange}->[$col] ) { @@ -732,7 +734,7 @@ and probably should be cleaned up more before being used by anything else. <TH>Customer</TH> <TH>Balance</TH> % foreach my $header ( @{$opt{header}} ) { - <TH><% $header %></TH> + <TH style="white-space: nowrap"><% $header %></TH> % } </TR> |
