Farid Ghanchi (OpenERP) has proposed merging 
lp:~openerp-dev/openerp-web/trunk-bugfix-1009066-ggh into lp:openerp-web.

Requested reviews:
  OpenERP R&D Web Team (openerp-dev-web)
Related bugs:
  Bug #1009066 in OpenERP Web: "[need decision] Layout gets broken when the 
text exceeds the size of the fields!"
  https://bugs.launchpad.net/openerp-web/+bug/1009066

For more details, see:
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-bugfix-1009066-ggh/+merge/132841

Hello,

I had add the code of when a char field is to long sometimes layout is broken.
suppose you input customer name long without any spaces so layout is streach in 
horizontally,
so i had added code in break line through size of the field...

Thanks... 
-- 
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-bugfix-1009066-ggh/+merge/132841
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openerp-web/trunk-bugfix-1009066-ggh.
=== modified file 'addons/web/static/src/css/base.css'
--- addons/web/static/src/css/base.css	2012-11-02 14:13:48 +0000
+++ addons/web/static/src/css/base.css	2012-11-05 06:45:24 +0000
@@ -1350,6 +1350,8 @@
   line-height: 26px;
 }
 .openerp .oe_view_manager table.oe_view_manager_header h2 {
+  width: 100%;
+  word-wrap: break-word;
   font-size: 18px;
   margin: 0;
   float: left;
@@ -2206,6 +2208,7 @@
 }
 .openerp .oe_form .oe_form_field {
   width: 100%;
+  word-wrap: break-word;
   display: inline-block;
   padding: 2px 2px 2px 0px;
 }

=== modified file 'addons/web/static/src/css/base.sass'
--- addons/web/static/src/css/base.sass	2012-11-02 14:13:48 +0000
+++ addons/web/static/src/css/base.sass	2012-11-05 06:45:24 +0000
@@ -1096,6 +1096,8 @@
             td
                 line-height: 26px
             h2
+                width: 100%
+                word-wrap: break-word
                 font-size: 18px
                 margin: 0
                 float: left
@@ -1760,6 +1762,7 @@
                 font-size: inherit
         .oe_form_field
             width: 100%
+            word-wrap: break-word
             display: inline-block
             padding: 2px 2px 2px 0px
             input

=== modified file 'addons/web_kanban/static/src/css/kanban.css'
--- addons/web_kanban/static/src/css/kanban.css	2012-10-28 08:33:24 +0000
+++ addons/web_kanban/static/src/css/kanban.css	2012-11-05 06:45:24 +0000
@@ -283,6 +283,7 @@
   margin: 0;
 }
 .openerp .oe_kanban_view .oe_kanban_action_a {
+  word-wrap: break-word;
   text-decoration: none;
 }
 .openerp .oe_kanban_view .oe_kanban_action_a:hover {

=== modified file 'addons/web_kanban/static/src/css/kanban.sass'
--- addons/web_kanban/static/src/css/kanban.sass	2012-10-28 08:33:24 +0000
+++ addons/web_kanban/static/src/css/kanban.sass	2012-11-05 06:45:24 +0000
@@ -270,6 +270,7 @@
         height: 22px
         margin: 0
     .oe_kanban_action_a
+        word-wrap: break-word
         text-decoration: none
         &:hover
             text-decoration: none

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to