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 and derekblank committed Dec 7, 2023
1 parent 7dd6ecf commit df30be2
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

0 comments on commit df30be2

Please sign in to comment.