зеркало из https://github.com/mozilla/gecko-dev.git
Bug 700770 - Style Inspector's Rule View can't scroll vertically; r=dao,rcampbell
This commit is contained in:
Родитель
86de2bc601
Коммит
9f6d376f31
|
@ -655,9 +655,10 @@ function CssRuleView(aDoc, aStore)
|
|||
this.doc = aDoc;
|
||||
this.store = aStore;
|
||||
|
||||
this.element = this.doc.createElementNS(HTML_NS, "div");
|
||||
this.element = this.doc.createElementNS(XUL_NS, "vbox");
|
||||
this.element.setAttribute("tabindex", "0");
|
||||
this.element.classList.add("ruleview");
|
||||
this.element.flex = 1;
|
||||
|
||||
// Give a relative position for the inplace editor's measurement
|
||||
// span to be placed absolutely against.
|
||||
|
|
|
@ -35,6 +35,10 @@
|
|||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
.ruleview {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.ruleview-computedlist:not(.styleinspector-open) {
|
||||
display: none;
|
||||
}
|
||||
|
|
|
@ -222,11 +222,11 @@
|
|||
|
||||
.ruleview-rule-source {
|
||||
background-color: -moz-dialog;
|
||||
padding: 2px;
|
||||
padding: 2px 5px;
|
||||
}
|
||||
|
||||
.ruleview-code {
|
||||
padding: 2px;
|
||||
padding: 2px 5px;
|
||||
}
|
||||
|
||||
.ruleview-propertylist {
|
||||
|
|
|
@ -224,11 +224,11 @@
|
|||
|
||||
.ruleview-rule-source {
|
||||
background-color: -moz-dialog;
|
||||
padding: 2px;
|
||||
padding: 2px 5px;
|
||||
}
|
||||
|
||||
.ruleview-code {
|
||||
padding: 2px;
|
||||
padding: 2px 5px;
|
||||
}
|
||||
|
||||
.ruleview-propertylist {
|
||||
|
|
|
@ -223,11 +223,11 @@
|
|||
|
||||
.ruleview-rule-source {
|
||||
background-color: -moz-dialog;
|
||||
padding: 2px;
|
||||
padding: 2px 5px;
|
||||
}
|
||||
|
||||
.ruleview-code {
|
||||
padding: 2px;
|
||||
padding: 2px 5px;
|
||||
}
|
||||
|
||||
.ruleview-propertylist {
|
||||
|
|
Загрузка…
Ссылка в новой задаче