Skip to content

Commit

Permalink
Bug 1036336 - [Collection App] Icons jump after rendering all of them
Browse files Browse the repository at this point in the history
  • Loading branch information
crdlc committed Jul 10, 2014
1 parent c9b7277 commit 8eca3ec
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions apps/collection/style/css/view.css
Expand Up @@ -67,8 +67,9 @@ gaia-grid {
left: 0;
right: 0;
bottom: 0;
overflow: scroll;
padding-top: 7.3rem;
overflow-x: hidden;
overflow-y: scroll;
-moz-user-select: none;
}

Expand All @@ -85,19 +86,15 @@ gaia-grid {

/* Notifications */
#content {
display: flex;
flex-direction: column;
display: block;
width: 100%;
}

section[role="notification"] {
flex: 1 1 auto;
align-items: center;
color: #fff;
font-size: 1.6rem;
line-height: 1.8rem;
text-align: center;
justify-content: center;
display: none;
position: relative;
z-index: 1;
Expand All @@ -107,6 +104,12 @@ section[role="notification"]#offline {
padding: 1.2rem 5rem;
}

#content section[role="notification"]#loading {
position: absolute;
width: 100%;
top: calc(50% + 1.45rem); /* 2.9rem is the height of the progress element */
}

/* Prevent unnecessary cpu usage (bug 922341) */
section[role="notification"] progress {
display: none;
Expand All @@ -117,7 +120,7 @@ body[data-loading="true"] section[role="notification"] progress {
}
section[role="notification"].show,
body[data-loading="true"] #content section[role="notification"]#loading{
display: flex;
display: block;
}

.edit-mode .icon[data-is-draggable="false"] {
Expand Down

0 comments on commit 8eca3ec

Please sign in to comment.