Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #31153 from albertopq/1185765-landscape-rocketbar
Browse files Browse the repository at this point in the history
Bug 1185765 - Rocketbar in landscape mode doent fit the screen r=gmarty
  • Loading branch information
albertopq committed Jul 30, 2015
2 parents 89bfde1 + c6c1878 commit d3d61c5
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 12 deletions.
1 change: 0 additions & 1 deletion apps/system/js/statusbar.js
Expand Up @@ -554,7 +554,6 @@
this._icons = new Map();

this.element = document.getElementById('statusbar');
this.background = document.getElementById('statusbar-background');
this.statusbarIcons = document.getElementById('statusbar-icons');
this.statusbarIconsMax = document.getElementById('statusbar-maximized');
this.screen = document.getElementById('screen');
Expand Down
4 changes: 0 additions & 4 deletions apps/system/style/rocketbar/rocketbar.css
Expand Up @@ -149,10 +149,6 @@
}

@media (orientation:landscape) {
#screen.software-button-enabled #rocketbar {
width: calc(100% - var(--software-home-button-height));
}

#screen.software-button-enabled #rocketbar-results {
height: calc(100% - 7rem);
width: calc(100% - var(--software-home-button-height));
Expand Down
1 change: 0 additions & 1 deletion apps/system/style/statusbar/statusbar.css
Expand Up @@ -87,7 +87,6 @@ to be available for moz-elements */
}

@media (orientation: landscape) {
#screen.software-button-enabled #statusbar-background,
#screen.software-button-enabled #statusbar {
width: calc(100% - var(--software-home-button-height));
}
Expand Down
8 changes: 2 additions & 6 deletions apps/system/test/unit/statusbar_test.js
Expand Up @@ -29,8 +29,8 @@ var mocksForStatusbar = new MocksHelper([
]).init();

suite('system/Statusbar', function() {
var fakeStatusbarNode, fakeTopPanel, fakeStatusbarBackground,
fakeStatusbarIcons, fakeStatusbarIconsMaxWrapper, fakeStatusbarIconsMax,
var fakeStatusbarNode, fakeTopPanel, fakeStatusbarIconsMax,
fakeStatusbarIcons, fakeStatusbarIconsMaxWrapper,
fakeStatusbarIconsMinWrapper, fakeStatusbarIconsMin;
var realMozL10n, realService;

Expand Down Expand Up @@ -66,10 +66,6 @@ suite('system/Statusbar', function() {
fakeTopPanel.id = 'top-panel';
document.body.appendChild(fakeTopPanel);

fakeStatusbarBackground = document.createElement('div');
fakeStatusbarBackground.id = 'statusbar-background';
document.body.appendChild(fakeStatusbarBackground);

fakeStatusbarIcons = document.createElement('div');
fakeStatusbarIcons.id = 'statusbar-icons';
document.body.appendChild(fakeStatusbarIcons);
Expand Down

0 comments on commit d3d61c5

Please sign in to comment.