From 116e694c7cb6d2c1e8655ff1fefd441c1251dfed Mon Sep 17 00:00:00 2001 From: Lee Chase Date: Tue, 29 Aug 2023 11:48:06 +0100 Subject: [PATCH] fix: some docs pages --- packages/core/.storybook/index.scss | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/packages/core/.storybook/index.scss b/packages/core/.storybook/index.scss index 4f381f6dc2..4f6ed763bb 100644 --- a/packages/core/.storybook/index.scss +++ b/packages/core/.storybook/index.scss @@ -9,7 +9,7 @@ // Carbon styles at the end -- this is to obtain a "worst case" for our own CSS, // to ensure we are resilient against different CSS loading orders and our // styles have the specificity necessary to override Carbon styles when needed. -@use 'ALIAS_STORY_STYLE_CONFIG'; // loads config.css or config-dev.scss from ibm-prodcuts/src (see main.js) +@use 'ALIAS_STORY_STYLE_CONFIG' as c4p-settings; // loads config.css or config-dev.scss from ibm-prodcuts/src (see main.js) @use '../../ibm-products/src/index-without-carbon.scss'; // Load all Carbon styles now @@ -65,16 +65,3 @@ body { .preview__notification--feature-flag .#{config.$prefix}--list--unordered { margin-top: $spacing-04; } - -.c4p--story-docs-page--fullscreen .docs-story { - --doc-story-height: 50vh; - - min-height: var(--doc-story-height); - /* stylelint-disable-next-line carbon/layout-token-use */ - transform: translateZ(0); -} - -.c4p--story-docs-page--fullscreen > div:first-child { - overflow: hidden; - width: 100%; -}