Bug 1177161 - Shift "More Information" button to the bottom when expanding a subview r=Gijs

This commit is contained in:
Tim Taubert 2015-06-24 12:38:19 -07:00
parent d9f856d4bd
commit 70873bca0a
2 changed files with 5 additions and 2 deletions

View File

@ -17,7 +17,7 @@
<panelmultiview id="identity-popup-multiView"
mainViewId="identity-popup-mainView">
<panelview id="identity-popup-mainView">
<panelview id="identity-popup-mainView" flex="1">
<!-- Security Section -->
<hbox class="identity-popup-section">
@ -45,6 +45,8 @@
</vbox>
</hbox>
<spacer flex="1"/>
<!-- More Information Button -->
<hbox id="identity-popup-button-container" align="center">
<button id="identity-popup-more-info-button" flex="1"

View File

@ -15,7 +15,8 @@
/* PANEL */
#identity-popup {
#identity-popup,
.panel-viewstack[viewtype="main"] > .panel-mainview[panelid=identity-popup] > #identity-popup-mainView {
/* Tiny hack to ensure the panel shrinks back to its original
size after closing a subview that is bigger than the main view. */
max-height: 0;