Skip to content

Commit

Permalink
Fix missing use of theme background color.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixarntz committed Jan 17, 2025
1 parent f31f627 commit 1f61222
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/block-library/src/image/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,11 @@ function block_core_image_print_lightbox_overlay() {
}

echo <<<HTML
<style>
.wp-lightbox-overlay[popover]::backdrop {
background-color: $background_color;
}
</style>
<div
id="wp-core-image-lightbox-overlay"
popover="auto"
Expand Down

0 comments on commit 1f61222

Please sign in to comment.