[FIX] web: fixed css of hidden input file: a hidden element could interfere with...
authorThibault Delavallée <tde@openerp.com>
Wed, 20 Aug 2014 14:29:56 +0000 (16:29 +0200)
committerThibault Delavallée <tde@openerp.com>
Thu, 21 Aug 2014 09:03:15 +0000 (11:03 +0200)
in the dom, leading to some fields not being accessible.

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

index 62b65b0..3aa06c5 100644 (file)
@@ -8,6 +8,7 @@
   font-weight: normal;
   font-style: normal;
 }
+
 @font-face {
   font-family: "EntypoRegular";
   src: url("/web/static/src/font/entypo-webfont.eot") format("eot");
   line-height: 0;
   font-size: 12px;
   position: absolute;
-  top: 1px;
+  top: -30px;
+  width: 100%;
   left: 0;
   right: 0;
   opacity: 0;
     top: 0px;
   }
 }
+
 .kitten-mode-activated {
   background-size: cover;
   background-attachment: fixed;
index efc51a7..d238522 100644 (file)
@@ -1826,7 +1826,8 @@ $sheet-padding: 16px
             line-height: 0
             font-size: 12px
             position: absolute
-            top: 1px
+            top: -30px
+            width: 100%
             left: 0
             right: 0
             opacity: 0