Make WordPress Core


Ignore:
Timestamp:
02/03/2023 12:34:59 AM (2 years ago)
Author:
hellofromTonya
Message:

Editor: Add missing controls to flex layouts in wp_get_layout_style().

Adds missing controls to flex layouts in wp_get_layout_style() for justify-content and vertical alignment options.

References:

Follow-up to [54274].

Props isabel_brison, andrewserong, jameskoster, joen, onemaggie , ndiego.
Fixes #57602.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/block-supports/wpGetLayoutStyle.php

    r54311 r55201  
    247247                    ),
    248248                ),
    249                 'expected_output' => '.wp-layout{flex-wrap:nowrap;flex-direction:column;align-items:flex-start;}',
     249                'expected_output' => '.wp-layout{flex-wrap:nowrap;flex-direction:column;align-items:flex-start;justify-content:flex-end;}',
    250250            ),
    251251            'default layout with blockGap to verify converting gap value into valid CSS' => array(
Note: See TracChangeset for help on using the changeset viewer.