[IMP] looks of advanced search: don't wrap propositions, stretch drawer instead
authorXavier Morel <xmo@openerp.com>
Tue, 15 May 2012 06:22:54 +0000 (08:22 +0200)
committerXavier Morel <xmo@openerp.com>
Tue, 15 May 2012 06:22:54 +0000 (08:22 +0200)
bzr revid: xmo@openerp.com-20120515062254-plemqlt82k115ml6

addons/web/static/src/css/base.css
addons/web/static/src/css/base.sass
addons/web/static/src/xml/base.xml

index 10251f8..0f66ecf 100644 (file)
   top: 100%;
   right: 0;
   background-color: white;
-  width: 100%;
+  min-width: 100%;
   display: none;
   border: 1px solid #cccccc;
   text-align: left;
 .openerp .oe_searchview .oe_searchview_drawer .oe_searchview_advanced li {
   list-style: none;
   margin: 0;
+  white-space: nowrap;
 }
 .openerp .oe_searchview .oe_searchview_drawer .oe_opened h4:before {
   content: "▾ ";
index 574d001..2979771 100644 (file)
@@ -941,7 +941,7 @@ $colour4: #8a89ba
             top: 100%
             right: 0
             background-color: white
-            width: 100%
+            min-width: 100%
             display: none
             border: 1px solid #ccc
             text-align: left
@@ -1019,6 +1019,7 @@ $colour4: #8a89ba
                 li
                     list-style: none
                     margin: 0
+                    white-space: nowrap
 
             .oe_opened
                 h4:before
index 8f40db1..fb3d03e 100644 (file)
     </form>
 </div>
 <div t-name="SearchView.advanced" class="oe_searchview_advanced">
-    <h4>Advanced Search...</h4>
+    <h4>Advanced Search</h4>
     <form>
         <ul>