Mercurial > kallithea
changeset 2145:f8e66d942dcb beta
autocomplete overflow fixes
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 20 Mar 2012 13:23:38 +0200 |
parents | 3600ebc731e6 |
children | ee45677c4edc |
files | rhodecode/public/css/style.css rhodecode/public/js/rhodecode.js |
diffstat | 2 files changed, 13 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/public/css/style.css Tue Mar 20 12:29:18 2012 +0200 +++ b/rhodecode/public/css/style.css Tue Mar 20 13:23:38 2012 +0200 @@ -2800,7 +2800,7 @@ } .ac .yui-ac { - position: relative; + position: inherit; font-size: 100%; } @@ -2815,12 +2815,11 @@ .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 @@ 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 @@ .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 @@ } .perm-gravatar-ac{ vertical-align:middle; - padding:2px; + padding:2px; + width: 14px; + height: 14px; } /*****************************************************************************
--- a/rhodecode/public/js/rhodecode.js Tue Mar 20 12:29:18 2012 +0200 +++ b/rhodecode/public/js/rhodecode.js Tue Mar 20 13:23:38 2012 +0200 @@ -696,7 +696,7 @@ 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