Skip to content

Commit

Permalink
Remove white loading screen and AMP default loading dots. (ampproject…
Browse files Browse the repository at this point in the history
  • Loading branch information
newmuis authored and RanAbram committed Mar 12, 2018
1 parent de21567 commit a0bebfb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
13 changes: 2 additions & 11 deletions css/amp.css
Expand Up @@ -812,17 +812,8 @@ amp-story-page {
background-color: #757575;
}

/** Overlay that blocks viewing during initial load */
.i-amphtml-embedded amp-story[standalone]::after {
background-color: #fff !important;
bottom: 0 !important;
content: ' ' !important;
display: block !important;
left: 0 !important;
position: absolute !important;
right: 0 !important;
top: 0 !important;
z-index: 999999 !important;
amp-story .i-amphtml-loader {
display: none !important;
}

amp-date-picker {
Expand Down
5 changes: 0 additions & 5 deletions extensions/amp-story/0.1/amp-story.css
Expand Up @@ -33,11 +33,6 @@ amp-story {
width: 100% !important;
}

/** Removes overlay that blocks viewing during initial load */
amp-story[standalone].i-amphtml-story-loaded::after {
display: none !important;
}

html.i-amphtml-story-standalone,
html.i-amphtml-story-standalone body {
height: 100% !important;
Expand Down

0 comments on commit a0bebfb

Please sign in to comment.