Changeset 55257 for trunk/src/wp-includes/blocks/gallery.php
- Timestamp:
- 02/07/2023 12:57:52 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks/gallery.php
r55246 r55257 100 100 101 101 // Set the CSS variable to the column value, and the `gap` property to the combined gap value. 102 $gallery_styles = array(); 103 $gallery_styles[] = array( 104 'selector' => ".wp-block-gallery.{$unique_gallery_classname}", 105 'declarations' => array( 106 '--wp--style--unstable-gallery-gap' => $gap_column, 107 'gap' => $gap_value, 102 $gallery_styles = array( 103 array( 104 'selector' => ".wp-block-gallery.{$unique_gallery_classname}", 105 'declarations' => array( 106 '--wp--style--unstable-gallery-gap' => $gap_column, 107 'gap' => $gap_value, 108 ), 108 109 ), 109 110 );
Note: See TracChangeset
for help on using the changeset viewer.