Changeset 119773 in spip-zone


Ignore:
Timestamp:
Jan 16, 2020, 9:11:55 AM (6 weeks ago)
Author:
Cerdic
Message:

Fix bug sur les picture qui necessitent un display block

Location:
_plugins_/adaptive_images/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/adaptive_images/trunk

    • Property subgit:lock:fd28be8bc032f0ab2fc6a923f04ce8ee2d42f1f9 set to 2020-01-16T10:11:59.757
  • _plugins_/adaptive_images/trunk/lib/AdaptiveImages/AdaptiveImages.php

    r118706 r119773  
    33 * AdaptiveImages
    44 *
    5  * @version    2.0.5
    6  * @copyright  2013-2019
     5 * @version    2.1.0
     6 * @copyright  2013-2020
    77 * @author     Nursit
    88 * @licence    GNU/GPL3
     
    5959         * @var array
    6060         */
    61         protected $defaultBkpts = array(160,320,480,640,960,1440);
     61        protected $defaultBkpts = array(480,960,1440);
    6262
    6363        /**
     
    7171         * @var int
    7272         */
    73         protected $minWidth1x = 320;
     73        protected $minWidth1x = 480;
    7474
    7575        /**
     
    8383         * @var int
    8484         */
    85         protected $maxWidthMobileVersion = 320;
     85        protected $maxWidthMobileVersion = 480;
    8686
    8787        /**
     
    342342                                        $base_style = "<style type='text/css'>"
    343343                                        ."img.adapt-img,.lazy img.adapt-img{max-width:100%;height:auto;}"
    344                                         .".adapt-img-wrapper {display:inline-block;max-width:100%;position:relative;background-position:center;-webkit-background-size:100% auto;-webkit-background-size:cover;background-size:cover;background-repeat:no-repeat;line-height:1px;overflow:hidden}"
     344                                        .".adapt-img-wrapper {display:block;max-width:100%;position:relative;background-position:center;-webkit-background-size:100% auto;-webkit-background-size:cover;background-size:cover;background-repeat:no-repeat;line-height:1px;overflow:hidden}"
    345345                                        .".adapt-img-wrapper.intrinsic::before{content:'';display:block;height:0;width:100%;}.adapt-img-wrapper.intrinsic img{position:absolute;left:0;top:0;width:100%;height:auto;}"
    346346                                        ."@media (min-width:{$minwidthdesktop}px){.adapt-img-wrapper.intrinsic-desktop::before{content:'';display:block;height:0;width:100%;}.adapt-img-wrapper.intrinsic-desktop img{position:absolute;left:0;top:0;width:100%;height:auto;}}"
     
    361361                                default:
    362362                                        $base_style = "<style type='text/css'>"."img.adapt-img,.lazy img.adapt-img{max-width:100%;height:auto;}img.adapt-img.blur{filter:blur(5px)}"
    363                                         .".adapt-img-wrapper,.adapt-img-wrapper::after{display:inline-block;max-width:100%;position:relative;-webkit-background-size:100% auto;-webkit-background-size:cover;background-size:cover;background-repeat:no-repeat;line-height:1px;overflow:hidden}"
     363                                        .".adapt-img-wrapper,.adapt-img-wrapper::after{display:block;max-width:100%;position:relative;-webkit-background-size:100% auto;-webkit-background-size:cover;background-size:cover;background-repeat:no-repeat;line-height:1px;overflow:hidden}"
    364364                                        .".adapt-img-background{width:100%;height:0}.adapt-img-background::after{display:none;width:100%;height:0;}"
    365365                                        ."html body .adapt-img-wrapper.lazy,html.lazy body .adapt-img-wrapper,html body .adapt-img-wrapper.lazy::after,html.lazy body .adapt-img-wrapper::after{background-image:none}"
  • _plugins_/adaptive_images/trunk/paquet.xml

    r118709 r119773  
    22        prefix="adaptive_images"
    33        categorie="multimedia"
    4         version="1.17.1"
     4        version="1.18.0"
    55        etat="stable"
    66        compatibilite="[3.0.0;3.3.*]"
Note: See TracChangeset for help on using the changeset viewer.