Make WordPress Core

Changeset 59409


Ignore:
Timestamp:
11/18/2024 02:53:51 AM (2 weeks ago)
Author:
joedolson
Message:

Customizer: Fix layout issues in customizer accordions.

Adjust some CSS characteristics in the customizer accordions to avoid a slight horizontal scroll, allow the chevron icon to be part of the clickable control surface, and resolve a pre-existing padding issue allowing overflow on accordion headings.

Follow up to [59224].

Props laurelfulford, wildworks, domainsupport, sabernhardt, rcreators, desrosj, sainathpoojary.
Fixes #62313, #62335.

Location:
trunk/src/wp-admin/css
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/common.css

    r59224 r59409  
    24632463.nav-menus-php .metabox-holder .accordion-section-title span.dashicons.dashicons-arrow-down::before {
    24642464    position: relative;
    2465     left: -1px
     2465    left: -1px;
    24662466}
    24672467
  • trunk/src/wp-admin/css/customize-controls.css

    r59224 r59409  
    554554}
    555555
    556 .accordion-section-title:has(button.accordion-trigger) {
     556.accordion-section-title:has(button.accordion-trigger),
     557#customize-controls .current-panel .control-section > h3.accordion-section-title:has(button.accordion-trigger) {
    557558    padding: 0;
    558559}
     
    562563    width: 100%;
    563564    height: 100%;
    564     padding: 10px 10px 11px 14px;
     565    padding: 10px 30px 11px 14px;
    565566    display: flex;
    566567    align-items: center;
     568    box-sizing: border-box;
    567569}
    568570
     
    588590    content: "\f345";
    589591    color: #a7aaad;
     592    pointer-events: none;
    590593}
    591594
Note: See TracChangeset for help on using the changeset viewer.