Bhumi Thakkar (Open ERP) has proposed merging 
lp:~openerp-dev/openerp-web/7.0-bug-1098829-bth into lp:openerp-web/7.0.

Requested reviews:
  OpenERP Core Team (openerp)
Related bugs:
  Bug #1098829 in OpenERP Web: "Trunk/7.0 layout issue - short user names - cut 
off text"
  https://bugs.launchpad.net/openerp-web/+bug/1098829

For more details, see:
https://code.launchpad.net/~openerp-dev/openerp-web/7.0-bug-1098829-bth/+merge/143296

Hello,

  Fixed issue of layout : for short user names the pull down menu causes 
horizontal scrolling and shows cut off text.

Thanks.
-- 
https://code.launchpad.net/~openerp-dev/openerp-web/7.0-bug-1098829-bth/+merge/143296
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openerp-web/7.0-bug-1098829-bth.
=== modified file 'addons/web/static/src/css/base.css'
--- addons/web/static/src/css/base.css	2013-01-09 13:18:48 +0000
+++ addons/web/static/src/css/base.css	2013-01-15 12:50:32 +0000
@@ -669,7 +669,6 @@
   display: none;
   position: absolute;
   top: 26px;
-  left: 0;
   z-index: 3;
   margin: 0;
   padding: 0;
@@ -710,7 +709,7 @@
   display: block;
   color: #4c4c4c;
   text-decoration: none;
-  width: 200px;
+  width: auto;
   text-overflow: ellipsis;
   overflow: hidden;
 }
@@ -1174,7 +1173,7 @@
   float: left;
 }
 .openerp .oe_user_menu .oe_dropdown_menu {
-  right: -1px;
+  right: -0.5px;
 }
 .openerp .oe_systray > div {
   float: left;

=== modified file 'addons/web/static/src/css/base.sass'
--- addons/web/static/src/css/base.sass	2013-01-09 13:18:48 +0000
+++ addons/web/static/src/css/base.sass	2013-01-15 12:50:32 +0000
@@ -578,7 +578,6 @@
         display: none
         position: absolute
         top: 26px
-        left: 0
         z-index: 3
         margin: 0
         padding: 0
@@ -604,7 +603,7 @@
                 display: block
                 color: #4c4c4c
                 text-decoration: none
-                width: 200px
+                width: auto
                 text-overflow: ellipsis
                 overflow: hidden
                 &:hover
@@ -949,7 +948,7 @@
             list-style-type: none
             float: left
         .oe_dropdown_menu
-            right: -1px
+            right: -0.5px
 
     .oe_systray > div
         float: left

=== modified file 'addons/web/static/src/js/chrome.js'
--- addons/web/static/src/js/chrome.js	2013-01-08 16:41:04 +0000
+++ addons/web/static/src/js/chrome.js	2013-01-15 12:50:32 +0000
@@ -1111,6 +1111,7 @@
                     var x = doc_width - offset.left - menu_width - 2;
                     if (x < 0) {
                         $menu.offset({ left: offset.left + x }).width(menu_width);
+                        $menu.css({'left' : ''});
                     }
                 }
             }, 0);

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : openerp-dev-gtk@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to