diff --git a/storybook/src/styles/overrides.css b/storybook/src/styles/overrides.css index eaa723f07a..5e635314ab 100644 --- a/storybook/src/styles/overrides.css +++ b/storybook/src/styles/overrides.css @@ -117,3 +117,10 @@ :is(#storybook-root, .sbdocs-content) a[href="#"] { cursor: not-allowed; } + +/* Override to make sure the default transparent border isn't shown in forced colors mode. */ +.innerZoomElementWrapper.innerZoomElementWrapper > div { + @media (forced-colors: active) { + border-color: Canvas !important; + } +}