# HG changeset patch # User Marcin Kuzminski # Date 2012-03-20 12:23:38 # Node ID f8e66d942dcbade061b537b857ad1dc04d1ee025 # Parent 3600ebc731e6b8ba722cf9add98c888e44ea0ae3 autocomplete overflow fixes diff --git a/rhodecode/public/css/style.css b/rhodecode/public/css/style.css --- a/rhodecode/public/css/style.css +++ b/rhodecode/public/css/style.css @@ -2800,7 +2800,7 @@ table.code-browser .browser-dir { } .ac .yui-ac { - position: relative; + position: inherit; font-size: 100%; } @@ -2815,12 +2815,11 @@ table.code-browser .browser-dir { .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; @@ -2852,6 +2851,12 @@ table.code-browser .browser-dir { 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 { @@ -2867,6 +2872,7 @@ table.code-browser .browser-dir { .ac .yui-ac-bd{ z-index: 9050; } + .follow { background: url("../images/icons/heart_add.png") no-repeat scroll 3px; height: 16px; @@ -4166,7 +4172,9 @@ form.comment-inline-form { } .perm-gravatar-ac{ vertical-align:middle; - padding:2px; + padding:2px; + width: 14px; + height: 14px; } /***************************************************************************** diff --git a/rhodecode/public/js/rhodecode.js b/rhodecode/public/js/rhodecode.js --- a/rhodecode/public/js/rhodecode.js +++ b/rhodecode/public/js/rhodecode.js @@ -696,7 +696,7 @@ var MembersAutoComplete = function (user if (group !== undefined){ em = '/images/icons/group.png' } - tmpl = '{1}' + tmpl = '
{1}
' return tmpl.format(em,res) } // group