diff --git a/resources/www/lightbox/styles/jquery-mobile/_jquery-validator.scss b/resources/www/lightbox/styles/jquery-mobile/_jquery-validator.scss index 5a12f1c4b6..259ade124d 100644 --- a/resources/www/lightbox/styles/jquery-mobile/_jquery-validator.scss +++ b/resources/www/lightbox/styles/jquery-mobile/_jquery-validator.scss @@ -13,11 +13,10 @@ ul.image_set{ li.image_box a img{ position:relative; border:none; - width: 100%!important; - height: auto!important; + width: auto!important; + height: 100% !important; top: 0 !important; - object-fit: cover; - + object-fit: contain; } li.image_box a{ padding:0; @@ -40,7 +39,10 @@ li.image_box{ .thumb_wrapper { background: #ededed; width: 100%!important; - height: 100%!important; + height: 160px!important; + @media screen and (max-width: 767px) { + height: 130px !important; + } } } @media screen and (max-width: 767px) {