removed block style on dropdown contact name and details, added dropdown-menu-img-sm on nav search dropdown; as many dropdowns were unuseable

This commit is contained in:
redmatrix 2015-11-25 15:12:54 -08:00
parent 0559db9cf8
commit b334201797
3 changed files with 5 additions and 4 deletions

View File

@ -1 +1 @@
2015-11-24.1226 2015-11-25.1227

View File

@ -60,7 +60,7 @@ function contact_format(item) {
var desc = ((item.label) ? item.nick + ' ' + item.label : item.nick); var desc = ((item.label) ? item.nick + ' ' + item.label : item.nick);
if(typeof desc === 'undefined') desc = ''; if(typeof desc === 'undefined') desc = '';
if(desc) desc = ' ('+desc+')'; if(desc) desc = ' ('+desc+')';
return "<div class='{0}' title='{4}'><img src='{1}'><span class='contactname'>{2}</span><span class='dropdown-sub-text'>{3}</span><div class='clear'></div></div>".format(item.taggable, item.photo, item.name, desc, item.link); return "<div class='{0}' title='{4}'><img class='dropdown-menu-img-sm' src='{1}'><span class='contactname'>{2}</span><span class='dropdown-sub-text'>{3}</span><div class='clear'></div></div>".format(item.taggable, item.photo, item.name, desc, item.link);
} }
else else
return "<div>" + item.text + "</div>"; return "<div>" + item.text + "</div>";

View File

@ -1289,14 +1289,14 @@ a.rconnect:hover, a.rateme:hover, div.rateme:hover {
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
display: block; /* display: block; */
} }
.dropdown-sub-text { .dropdown-sub-text {
line-height: 1em; line-height: 1em;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
display: block; /* display: block; */
} }
.notify-seen a { .notify-seen a {
@ -2291,3 +2291,4 @@ nav .badge.mail-update:hover {
.response-list ul { .response-list ul {
list-style-type: none; list-style-type: none;
} }