Plugin Directory

Changeset 3480321


Ignore:
Timestamp:
03/11/2026 03:34:23 PM (3 weeks ago)
Author:
domclic
Message:

fix width of gallery

Location:
effortless-carousel-with-gallery/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • effortless-carousel-with-gallery/trunk/assets/css/carousel.css

    r3480298 r3480321  
    1313    padding: 0;
    1414    display: block;
     15    box-sizing: border-box;
     16    gap: 0 !important; /* override WordPress default gallery gap */
    1517}
    1618
     
    2123    transition: transform 0.5s ease;
    2224    will-change: transform;
     25    gap: 0; /* gaps handled by per-slide padding so percentage-based translateX stays accurate */
    2326}
    2427
     
    2730    flex: 0 0 calc(100% / var(--slides-per-view, 1));
    2831    width: calc(100% / var(--slides-per-view, 1));
    29     padding: 0;
     32    padding: 0 var(--elcwg-card-gap, 8px);
    3033    box-sizing: border-box;
    3134    display: flex;
     
    171174        --slides-per-view: 1;
    172175    }
    173 
    174     .elcwg-carousel-inner .wp-block-image {
    175         flex: 0 0 100%;
    176         width: 100%;
    177     }
    178176}
    179177
  • effortless-carousel-with-gallery/trunk/effortless-carousel-with-gallery.php

    r3480298 r3480321  
    33 * Plugin Name: Effortless Carousel with Gallery
    44 * Description: Adds responsive carousel with animation functionality to WordPress galleries.
    5  * Version:           1.1.2
     5 * Version:           1.1.4
    66 * Requires at least: 5.5
    77 * Requires PHP:      7.2
     
    2121
    2222/** Plugin version constant. */
    23 define( 'ELCWG_VERSION', '1.1.2' );
     23define( 'ELCWG_VERSION', '1.1.4' );
    2424
    2525/**
  • effortless-carousel-with-gallery/trunk/readme.txt

    r3480298 r3480321  
    44Requires at least: 5.5
    55Tested up to: 6.9
    6 Stable tag: 1.1.2
     6Stable tag: 1.1.4
    77Requires PHP: 7.2
    88License: GPLv2 or later
     
    6666== Changelog ==
    6767
     68= 1.1.4 =
     69* Fixed: Carousel now fills its container div exactly, with no extra side padding — the container's own spacing is respected.
     70
     71= 1.1.3 =
     72* Fixed: Carousel slides now fit within screen width without truncation, with consistent padding between cards and screen edges.
     73* Fixed: Overrides WordPress default gallery gap to prevent slides from being pushed off-screen.
     74* Improved: Mobile view (< 480px) shows a single full-width card with proper padding.
     75
    6876= 1.1.2 =
    6977* Added: `elcwg-no-arrows` class to hide navigation arrows.
Note: See TracChangeset for help on using the changeset viewer.