Skip to content

Commit

Permalink
Use transparent background of the lightbox image
Browse files Browse the repository at this point in the history
It allow to see low-res placeholder while the hi-res image loading
  • Loading branch information
davidmz committed Jan 13, 2024
1 parent 28b089e commit 7dce987
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions styles/shared/attachments.scss
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,6 @@
}
}

.pswp__img {
background-color: #fff;
}

.sortable-images .image-attachment-link {
cursor: move;
}
Expand Down
2 changes: 1 addition & 1 deletion styles/shared/lighbox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
height: 100%;
}

// Override the 'zoom-in' cursor for images that cannot be zoomed in
.pswp__img {
// Override the 'zoom-in' cursor for images that cannot be zoomed in
cursor: default;
}

Expand Down

0 comments on commit 7dce987

Please sign in to comment.