1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 22:42:26 +01:00

:hi CompMsg height: 1.5em; line-height: 1.5em; as the completion rows.

This commit is contained in:
Kris Maglione
2008-11-29 16:56:57 +00:00
parent 4124c73f23
commit 92e8615207
3 changed files with 8 additions and 2 deletions

View File

@@ -573,7 +573,7 @@ function Completion() //{{{
// v[0] in orig and orig[v[0]] catch different cases. XPCOM // v[0] in orig and orig[v[0]] catch different cases. XPCOM
// objects are problematic, to say the least. // objects are problematic, to say the least.
if ([modules, plugins, userContext].some(function (o) o.isPrototypeOf(obj))) if (modules.isPrototypeOf(obj))
compl = [v for (v in Iterator(obj))]; compl = [v for (v in Iterator(obj))];
else else
{ {

View File

@@ -350,7 +350,7 @@ const util = { //{{{
try // window.content often does not want to be queried with "var i in object" try // window.content often does not want to be queried with "var i in object"
{ {
let hasValue = !("__iterator__" in object); let hasValue = !("__iterator__" in object);
if (object.__proto__ == modules || object.__proto__ == plugins) if (modules.isPrototypeOf(object))
{ {
object = Iterator(object); object = Iterator(object);
hasValue = false; hasValue = false;

View File

@@ -65,6 +65,12 @@ the terms of any one of the MPL, the GPL or the LGPL.
display: table-cell; display: table-cell;
vertical-align: middle; vertical-align: middle;
} }
[liberator|highlight~=CompMsg] {
height: 1.5em;
line-height: 1.5em !important;
}
.td-span { .td-span {
display: inline-block; display: inline-block;
overflow: visible; overflow: visible;