The Smart Window sidebar splitter could be resized past the page content area: Clamp the splitter so it does not detach from the panel edge. Differential Revision: https://phabricator.services.mozilla.com/D309792
37 lines
2.1 KiB
HTML
37 lines
2.1 KiB
HTML
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
<hbox flex="1" id="browser">
|
|
<box context="sidebar-context-menu" id="sidebar-container" class="chrome-block" hidden="true">
|
|
<html:sidebar-main flex="1">
|
|
<box id="vertical-tabs" slot="tabstrip" customizable="true" contextmenu="toolbar-context-menu"></box>
|
|
</html:sidebar-main>
|
|
</box>
|
|
<splitter id="sidebar-launcher-splitter" class="chromeclass-extrachrome sidebar-splitter" resizebefore="sibling" resizeafter="none" hidden="true"/>
|
|
<vbox id="sidebar-box" hidden="true" class="chromeclass-extrachrome chrome-block">
|
|
<box id="sidebar-header" align="center">
|
|
<toolbarbutton id="sidebar-switcher-target" class="tabbable" aria-expanded="false">
|
|
<image id="sidebar-icon" consumeanchor="sidebar-switcher-target"/>
|
|
<label id="sidebar-title" crop="end" control="sidebar"/>
|
|
<image id="sidebar-switcher-arrow"/>
|
|
</toolbarbutton>
|
|
<image id="sidebar-throbber"/>
|
|
<spacer id="sidebar-spacer"/>
|
|
<toolbarbutton id="sidebar-close" class="close-icon tabbable" data-l10n-id="sidebar-close-button"/>
|
|
</box>
|
|
<stack class="sidebar-browser-stack">
|
|
<browser id="sidebar" autoscroll="false" disablehistory="true" disablefullscreen="true" tooltip="aHTMLTooltip"/>
|
|
</stack>
|
|
</vbox>
|
|
<splitter id="sidebar-splitter" class="chromeclass-extrachrome sidebar-splitter" resizebefore="sibling" resizeafter="none" hidden="true" role="separator" aria-controls="sidebar-box" data-l10n-id="sidebar-resize-splitter"/>
|
|
<tabbox id="tabbrowser-tabbox" flex="1" tabcontainer="tabbrowser-tabs">
|
|
<tabpanels id="tabbrowser-tabpanels" flex="1" selectedIndex="0"/>
|
|
</tabbox>
|
|
<splitter id="ai-window-splitter" class="chromeclass-extrachrome sidebar-splitter" resizebefore="sibling" resizeafter="sibling" collapsed="true"/>
|
|
<vbox id="ai-window-box" collapsed="true" class="chromeclass-extrachrome ai-window-right-sidebar">
|
|
<stack class="ai-window-browser-stack" flex="1">
|
|
</stack>
|
|
</vbox>
|
|
</hbox>
|