Skip to content

Commit

Permalink
Lower the priority of the gallery gap css so it loads after the block…
Browse files Browse the repository at this point in the history
… layout css (#41423)

Co-authored-by: Glen Davies <[email protected]>
  • Loading branch information
glendaviesnz and Glen Davies authored May 30, 2022
1 parent 0c901d5 commit c489e26
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/block-library/src/gallery/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ function block_core_gallery_render( $attributes, $content ) {
'wp_footer',
function () use ( $style ) {
echo '<style> ' . $style . '</style>';
}
},
11
);
return $content;
}
Expand Down

0 comments on commit c489e26

Please sign in to comment.