Plugin Directory

Changeset 3434741


Ignore:
Timestamp:
01/07/2026 10:36:59 PM (3 months ago)
Author:
caterhamcomputing
Message:

Removed CSS intended for future optional title truncation which was accidentally included in modern CSS

Location:
cc-child-pages
Files:
40 added
4 edited

Legend:

Unmodified
Added
Removed
  • cc-child-pages/trunk/includes/css/styles.css

    r3394718 r3434741  
    434434  display: inline-block;
    435435}
    436 .ccchildpages.ccflex .ccchildpage .ccpage_title {
    437   margin: 0;
    438   line-height: 1.25;
    439   min-height: 1.25em;
    440 }
    441 .ccchildpages.ccflex .ccchildpage .ccpage_title, .ccchildpages.ccflex .ccchildpage .ccpage_title a {
    442   display: -webkit-box;
    443   -webkit-line-clamp: 1;
    444   -webkit-box-orient: vertical;
    445   overflow: hidden;
    446   text-overflow: ellipsis;
    447   white-space: normal; /* never force nowrap; allow wrapping before clamp */
    448   max-width: 100%;
    449 }
    450436.ccchildpages.ccflex .cc-meta-info {
    451437  font-size: 70%;
  • cc-child-pages/trunk/includes/scss/modern/_styles.scss

    r3394721 r3434741  
    113113
    114114    /* NEW: prevent very long titles from stretching cards */
    115     .ccchildpage .ccpage_title {
    116         margin: 0;
    117         line-height: 1.25;
    118         min-height: 1.25em; // visual consistency for ~2 lines
    119         &,
    120         & a {
    121             display: -webkit-box;
    122             -webkit-line-clamp: 1; // clamp to 2 lines
    123             -webkit-box-orient: vertical;
    124             overflow: hidden;
    125             text-overflow: ellipsis;
    126             white-space: normal; /* never force nowrap; allow wrapping before clamp */
    127             max-width: 100%;
    128         }
    129     }
     115    // .ccchildpage .ccpage_title {
     116    // margin: 0;
     117    // line-height: 1.25;
     118    // min-height: 1.25em; // visual consistency for ~2 lines
     119    // &,
     120    // & a {
     121    //      display: -webkit-box;
     122    //      -webkit-line-clamp: 1; // clamp to 2 lines
     123    //      -webkit-box-orient: vertical;
     124    //      overflow: hidden;
     125    //      text-overflow: ellipsis;
     126    //      white-space: normal; /* never force nowrap; allow wrapping before clamp */
     127    //      max-width: 100%;
     128    // }
     129    // }
    130130
    131131    // Meta info, links, thumbnails etc. — preserved styles:
  • cc-child-pages/trunk/index.php

    r3403877 r3434741  
    44 * Plugin URI: https://caterhamcomputing.co.uk/
    55 * Description: Show links to child pages
    6  * Version:           2.0.1
     6 * Version:           2.0.2
    77 * Requires at least: 6.7
    88 * Requires PHP:      7.4
  • cc-child-pages/trunk/readme.txt

    r3414245 r3434741  
    55Requires at least: 6.3
    66Tested up to: 6.9
    7 Stable tag: 2.0.1
     7Stable tag: 2.0.2
    88Requires PHP: 7.2
    99License: GPLv2 or later
     
    179179== Changelog ==
    180180
     181= 2.0.2 =
     182* Removed CSS intended for future optional title truncation which was accidentally included in modern CSS
     183
    181184= 2.0.1 =
    182185* Security update.
     
    378381== Upgrade Notice ==
    379382
     383= 2.0.2 =
     384* Removed CSS intended for future optional title truncation which was accidentally included in modern CSS
     385
    380386= 2.0.1 =
    381387* Security update.
Note: See TracChangeset for help on using the changeset viewer.