Skip to content

Commit

Permalink
Images Appear (#2164)
Browse files Browse the repository at this point in the history
* Removes manual hiding of images

* Updates snapshots

* Uses visibility instead of display to hide images until they load

Co-authored-by: Devagouda <40405790+dpatil-magento@users.noreply.github.com>
  • Loading branch information
supernova-at and dpatil-magento authored Feb 14, 2020
1 parent d269e50 commit c989bf0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/venia-ui/lib/components/Image/image.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
}

.loaded {
display: block;
position: absolute;
top: 0;
left: 0;
visibility: visible;
}

.notLoaded {
composes: loaded;
display: none;
visibility: hidden;
}

.placeholder {
Expand Down

0 comments on commit c989bf0

Please sign in to comment.