From df30be25305986ddb17177d66bed13aa90ef2d7b Mon Sep 17 00:00:00 2001 From: Aki Hamano <54422211+t-hamano@users.noreply.github.com> Date: Tue, 28 Nov 2023 21:39:19 +0900 Subject: [PATCH] Gallery Block: Use styled scrollbars for image captions (#56252) * Gallery Block: Use styled scrollbars for image captions * Add 1px border * Apply transparent white color to scrollbar --- packages/block-library/src/gallery/style.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/block-library/src/gallery/style.scss b/packages/block-library/src/gallery/style.scss index 3f5a462e3206c0..afbc3088049858 100644 --- a/packages/block-library/src/gallery/style.scss +++ b/packages/block-library/src/gallery/style.scss @@ -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;