UX: remove gray background from lighbox

UX: remove gray background from lighbox

This avoids a 3 way transition when loading images

  • grey
  • ultra low res
  • full image

Instead we go

  • ultra low res
  • full image
diff --git a/app/assets/stylesheets/common/base/lightbox.scss b/app/assets/stylesheets/common/base/lightbox.scss
index 1c1e46a..a83bab7 100644
--- a/app/assets/stylesheets/common/base/lightbox.scss
+++ b/app/assets/stylesheets/common/base/lightbox.scss
@@ -2,7 +2,6 @@
   position: relative;
   display: inline-block;
   overflow: hidden;
-  background: $primary-low;
   &:hover .meta {
     opacity: 0.9;
     transition: opacity 0.5s;

GitHub
sha: 0c11caf7

3 Likes