Commits

Marcin Kuzminski  committed f8e66d9

autocomplete overflow fixes

  • Participants
  • Parent commits 3600ebc

Comments (0)

Files changed (2)

File rhodecode/public/css/style.css

 }
 
 .ac .yui-ac {
-	position: relative;
+	position: inherit;
 	font-size: 100%;
 }
 
 .ac .yui-ac-container {
 	position: absolute;
 	top: 1.6em;
-	width: 100%;
+	width: auto;
 }
 
 .ac .yui-ac-content {
 	position: absolute;
-	width: 100%;
 	border: 1px solid gray;
 	background: #fff;
 	z-index: 9050;
 	padding: 2px 5px;
 	height: 18px;
 	z-index: 9050;
+	display: block;
+	width: auto !important;
+}
+
+.ac .yui-ac-content li .ac-container-wrap{
+    width: auto;
 }
 
 .ac .yui-ac-content li.yui-ac-prehighlight {
 .ac .yui-ac-bd{
 	z-index: 9050;
 }
+
 .follow {
 	background: url("../images/icons/heart_add.png") no-repeat scroll 3px;
 	height: 16px;
 }
 .perm-gravatar-ac{
     vertical-align:middle;
-    padding:2px;	
+    padding:2px;
+    width: 14px;
+    height: 14px;	
 }
 
 /*****************************************************************************

File rhodecode/public/js/rhodecode.js

             	if (group !== undefined){
             		em = '/images/icons/group.png'
             	}
-            	tmpl = '<img class="perm-gravatar-ac" src="{0}"/>{1}'
+            	tmpl = '<div class="ac-container-wrap"><img class="perm-gravatar-ac" src="{0}"/>{1}</div>'
             	return tmpl.format(em,res)
             }
             // group