UX: increase selector specificity so that "inline" lightboxes in quotes don't get backgrounds

When a quote is not expanded and it contains lightboxes, those lightboxes are not displayed and instead we show a link that looks like this `[image_title]` 

These still have the lightbox CSS class and so they still get the backgrounds we add to lightboxes while they load. Increasing the selector specificity prevents that from happening.
This commit is contained in:
Joe 2018-12-13 15:17:08 +08:00 committed by GitHub
parent 59c56bd20f
commit 8ef2085585
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
.lightbox {
.lightbox-wrapper .lightbox {
position: relative;
display: inline-block;