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 #16393 from timdream/lockscreen-backgroundsize
Browse files Browse the repository at this point in the history
Bug 971654 - Correct lockscreen background sizing, r=snowmantw
  • Loading branch information
timdream committed Feb 18, 2014
2 parents b28af1c + 21d0c2d commit 258ae64
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions apps/system/style/lockscreen/lockscreen.css
Expand Up @@ -39,12 +39,16 @@
#lockscreen-background {
position: absolute;
top: 0;
overflow: hidden;

/* Must match the CSS background rule of #screen in system.css */
width: 100%;
height: 100%;
overflow: hidden;
background-color: #000;
background-size: cover; /* Possible memory over-consumption with huge images, it should be removed for improving stability*/
background-repeat: no-repeat;
background-size: 100%;
background-position: 50% 2rem;

-moz-user-select: none;
opacity: 1;
z-index: 1;
Expand Down

0 comments on commit 258ae64

Please sign in to comment.