Bug 406552 - Sidebar in Help Viewer is not collapsible; r+sr=neil
This commit is contained in:
Родитель
31083598d3
Коммит
f9cd359776
|
@ -101,3 +101,7 @@ function contentClick(event) {
|
|||
} catch (e) {}
|
||||
return false;
|
||||
}
|
||||
|
||||
function showSidebar() {
|
||||
document.getElementById("help-sidebar-splitter").setAttribute("state", "open");
|
||||
}
|
||||
|
|
|
@ -50,6 +50,12 @@
|
|||
|
||||
<browser id="help-content" onclick="return contentClick(event);" />
|
||||
|
||||
<textbox id="findText" oncommand="showSidebar(); doFind();"/>
|
||||
|
||||
<splitter id="help-sidebar-splitter">
|
||||
<grippy/>
|
||||
</splitter>
|
||||
|
||||
<vbox id="appcontent">
|
||||
<browser type="content" id="help-external" collapsed="true"/>
|
||||
</vbox>
|
||||
|
|
|
@ -43,6 +43,10 @@
|
|||
|
||||
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
||||
|
||||
#help-sidebar {
|
||||
min-width: 30px;
|
||||
}
|
||||
|
||||
/* ::::: toolbar icons ::::: */
|
||||
|
||||
#HelpToolbar > toolbarbutton {
|
||||
|
|
|
@ -86,9 +86,8 @@
|
|||
margin: 30px 0px 0px 34px;
|
||||
}
|
||||
|
||||
/* Set the minimum sidebar width so the help contents aren't squeezed together.*/
|
||||
#help-sidebar {
|
||||
min-width: 15em;
|
||||
min-width: 30px;
|
||||
width: 20em;
|
||||
max-width: 25em;
|
||||
background-color: #BDC7D6;
|
||||
|
|
Загрузка…
Ссылка в новой задаче