diff --git a/package.json b/package.json index d168fc3af1..70e5d14918 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,7 @@ "normalize-css": "^2.1.0", "npm": "^6.0.0", "npm-modernizr": "^2.8.3", - "phraseanet-production-client": "0.34.78-d", + "phraseanet-production-client": "0.34.79-d", "requirejs": "^2.3.5", "tinymce": "^4.0.28", "underscore": "^1.8.3", diff --git a/resources/www/lightbox/styles/jquery-mobile/_jquery-validator.scss b/resources/www/lightbox/styles/jquery-mobile/_jquery-validator.scss index bbf198ef80..a44f3d8f48 100644 --- a/resources/www/lightbox/styles/jquery-mobile/_jquery-validator.scss +++ b/resources/www/lightbox/styles/jquery-mobile/_jquery-validator.scss @@ -7,27 +7,40 @@ ul.image_set{ width:100%; border:none; list-style-type: none; + display: flex; + flex-wrap: wrap; } li.image_box a img{ position:relative; - vertical-align:middle; border:none; + width: 100%!important; + height: auto!important; + top: 0 !important; + object-fit: cover; + } li.image_box a{ padding:0; text-shadow:0; margin:0; + width: 100%; } li.image_box{ - width:80px; - height:80px; - position:relative; - float:left; - margin:0px 15px 15px 0px; - padding:0px; - text-align:center; + width: 32%; + position: relative; + margin: 0 2% 15px 0; + padding: 0; + display: flex; + align-items: center; + text-align: center; + background: #ededed; + &:nth-child(3n) { + margin-right: 0; + } .thumb_wrapper { background: #ededed; + width: 100%!important; + height: 100%!important; } } a.no.active_choice{ diff --git a/resources/www/lightbox/styles/main-mobile.scss b/resources/www/lightbox/styles/main-mobile.scss index ae1c307342..e5c9e1e93e 100644 --- a/resources/www/lightbox/styles/main-mobile.scss +++ b/resources/www/lightbox/styles/main-mobile.scss @@ -199,7 +199,6 @@ img { } #report .CHIM.diapo { - position: relative; text-align: center; } diff --git a/templates/mobile/lightbox/validate.html.twig b/templates/mobile/lightbox/validate.html.twig index 5b6653ea9f..fbaa154a2a 100644 --- a/templates/mobile/lightbox/validate.html.twig +++ b/templates/mobile/lightbox/validate.html.twig @@ -61,6 +61,8 @@ {{ 'lightbox::list' | trans }} +