Bug 557298 - Controls Pane buttons flip from top to bottom when re-opening controls in portrait mode [r=stechz]

This commit is contained in:
Mark Finkle 2010-04-05 17:54:36 -04:00
parent a9dbeb5d26
commit 9ffd5361fd
2 changed files with 14 additions and 4 deletions

View File

@ -278,11 +278,11 @@ toolbarbutton.page-button {
@media (min-width: 500px) {
#panel-container {
-moz-box-orient: horizontal;
-moz-box-direction: normal;
}
#panel-controls {
-moz-box-orient: vertical;
-moz-box-ordinal-group: 1;
-moz-box-pack: end;
}
@ -294,17 +294,22 @@ toolbarbutton.page-button {
@media (max-width: 499px) {
#panel-container {
-moz-box-orient: vertical;
-moz-box-direction: reverse;
}
#panel-controls {
-moz-box-orient: horizontal;
-moz-box-ordinal-group: 1000;
-moz-box-pack: start;
padding-top: 8px; /* core spacing */
}
#tool-panel-close {
-moz-box-ordinal-group: 1;
margin-right: 8px; /* core spacing */
}
toolbarbutton.panel-button {
margin-right: 8px; /* core spacing */
}
}

View File

@ -122,11 +122,11 @@ toolbarbutton.page-button {
@media (min-width: 500px) {
#panel-container {
-moz-box-orient: horizontal;
-moz-box-direction: normal;
}
#panel-controls {
-moz-box-orient: vertical;
-moz-box-ordinal-group: 1;
-moz-box-pack: end;
}
@ -138,17 +138,22 @@ toolbarbutton.page-button {
@media (max-width: 500px) {
#panel-container {
-moz-box-orient: vertical;
-moz-box-direction: reverse;
}
#panel-controls {
-moz-box-orient: horizontal;
-moz-box-ordinal-group: 1000;
-moz-box-pack: start;
padding-top: 1.1mm; /* core spacing */
}
#tool-panel-close {
-moz-box-ordinal-group: 1;
margin-right: 1.1mm; /* core spacing */
}
toolbarbutton.panel-button {
margin-right: 1.1mm; /* core spacing */
}
}