From 6b5728cf06578436d85615611b26bfe208d5b2ff Mon Sep 17 00:00:00 2001 From: Extended Component Library Team Date: Thu, 12 Oct 2023 16:31:14 -0700 Subject: [PATCH] fix: resolve minor styling issue with photo scrollbar in Place Overview PiperOrigin-RevId: 573043224 --- src/place_overview/place_overview.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/place_overview/place_overview.ts b/src/place_overview/place_overview.ts index 2ff90e3..94896fb 100644 --- a/src/place_overview/place_overview.ts +++ b/src/place_overview/place_overview.ts @@ -190,6 +190,7 @@ export class PlaceOverview extends BaseComponent { .carousel { margin-inline-end: ${getTypeScaleSizeFromPx(-20)}; overflow-x: auto; + overflow-y: clip; white-space: nowrap; } @@ -197,6 +198,9 @@ export class PlaceOverview extends BaseComponent { background-color: ${GMPX_COLOR_SURFACE}; width: 16px; } + .carousel::-webkit-scrollbar-corner { + background-color: ${GMPX_COLOR_SURFACE}; + } .carousel::-webkit-scrollbar-track { background-color: ${GMPX_COLOR_SURFACE}; }