mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 10:57:58 +01:00
/tmp/cvsSeRn0i
This commit is contained in:
@@ -25,6 +25,7 @@ function Highlights(name, store, serial)
|
|||||||
MoreMsg color: green; background: white;
|
MoreMsg color: green; background: white;
|
||||||
WarningMsg color: red; background: white;
|
WarningMsg color: red; background: white;
|
||||||
Message white-space: normal; min-width: 100%; padding-left: 2em; text-indent: -2em; display: block;
|
Message white-space: normal; min-width: 100%; padding-left: 2em; text-indent: -2em; display: block;
|
||||||
|
NonText color: blue; min-height: 16px; padding-left: 2px;
|
||||||
|
|
||||||
|
|
||||||
CompItem
|
CompItem
|
||||||
|
|||||||
@@ -1286,7 +1286,6 @@ function ItemList(id) //{{{
|
|||||||
var endIndex = -1; // The index one *after* the last displayed item
|
var endIndex = -1; // The index one *after* the last displayed item
|
||||||
var selIndex = -1; // The index of the currently selected element
|
var selIndex = -1; // The index of the currently selected element
|
||||||
var completionBody = null;
|
var completionBody = null;
|
||||||
var completionElements = null;
|
|
||||||
var minHeight = 0;
|
var minHeight = 0;
|
||||||
|
|
||||||
function autoSize()
|
function autoSize()
|
||||||
@@ -1381,14 +1380,15 @@ function ItemList(id) //{{{
|
|||||||
<div class="hl-Completions">
|
<div class="hl-Completions">
|
||||||
{
|
{
|
||||||
template.map(util.range(0, maxItems), function (i)
|
template.map(util.range(0, maxItems), function (i)
|
||||||
<ul class="hl-CompItem"><li class="hl-NonText">~</li></ul>)
|
<ul><li class="hl-NonText">~</li></ul>)
|
||||||
}
|
}
|
||||||
</div>;
|
</div>;
|
||||||
</div>;
|
</div>;
|
||||||
|
|
||||||
let dom = util.xmlToDom(div, doc);
|
let dom = util.xmlToDom(div, doc);
|
||||||
completionBody = dom.getElementsByClassName("hl-Completions")[0];
|
completionBody = dom.getElementsByClassName("hl-Completions")[0];
|
||||||
completionElements = completionBody.childNodes;
|
//completionElements = completionBody.childNodes;
|
||||||
|
completionElements = dom.getElementsByClassName("hl-CompItem");
|
||||||
doc.body.replaceChild(dom, doc.body.firstChild);
|
doc.body.replaceChild(dom, doc.body.firstChild);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -55,6 +55,9 @@ the terms of any one of the MPL, the GPL or the LGPL.
|
|||||||
.hl-CompItem {
|
.hl-CompItem {
|
||||||
display: table-row;
|
display: table-row;
|
||||||
}
|
}
|
||||||
|
.hl-Completions > ul {
|
||||||
|
display: table-row;
|
||||||
|
}
|
||||||
.hl-CompItem > * {
|
.hl-CompItem > * {
|
||||||
-moz-binding: url(chrome://liberator/content/bindings.xml#compitem-td);
|
-moz-binding: url(chrome://liberator/content/bindings.xml#compitem-td);
|
||||||
display: table-cell;
|
display: table-cell;
|
||||||
|
|||||||
Reference in New Issue
Block a user