Commit 57d0fc29 authored by Fabien Morin's avatar Fabien Morin

correct indentation problem

add a css white-space property that permit to enhance error message displaying
in not wraping message every words.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19348 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0aea348e
......@@ -833,7 +833,7 @@ class ManageCSS:
#properties_css_background['margin-left']= \
# str((x_pos- 5))+ 'px'
else:
properties_css_page['margin-top'] = "%spx" %(40)
properties_css_page['margin-top'] = "%spx" % (40)
# set width and height on page block
properties_css_page['width'] = str (page_width) + 'px'
......@@ -927,6 +927,7 @@ class ManageCSS:
str(12) + 'px'
properties_css_object_err_d['margin-left'] = str(page_width +
space_between_pages ) + 'px'
properties_css_object_err_d['white-space'] = 'nowrap'
properties_css_object_stand['margin-top'] = \
str((scaling_factor2 *float(properties_field['position_y']))) + 'px'
properties_css_object_error['margin-top'] = \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment