Skip to content

Commit

Permalink
Gallery Block: Use styled scrollbars for image captions (#56252)
Browse files Browse the repository at this point in the history
* Gallery Block: Use styled scrollbars for image captions

* Add 1px border

* Apply transparent white color to scrollbar
  • Loading branch information
t-hamano authored Nov 28, 2023
1 parent 4b39d90 commit bf50686
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/block-library/src/gallery/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ figure.wp-block-gallery.has-nested-images {
text-align: center;
width: 100%;
box-sizing: border-box;
@include custom-scrollbars-on-hover(transparent, rgba($white, 0.8));

img {
display: inline;
Expand Down

1 comment on commit bf50686

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in bf50686.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/7018872012
📝 Reported issues:

Please sign in to comment.