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:
parent
59c56bd20f
commit
8ef2085585
|
@ -1,4 +1,4 @@
|
|||
.lightbox {
|
||||
.lightbox-wrapper .lightbox {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
|
||||
|
|
Loading…
Reference in New Issue