diff --git a/css/lightbox.css b/css/lightbox.css index 60cf695d..51c73e82 100644 --- a/css/lightbox.css +++ b/css/lightbox.css @@ -28,7 +28,7 @@ body:after { .lightbox .lb-image { display: block; height: auto; - max-width: inherit; + max-width: inherit !important; /* to fix if other css having img { max-width: 100%} its affect the Auto resize of lightbox preview */ -webkit-border-radius: 3px; -moz-border-radius: 3px; -ms-border-radius: 3px;