Skip to content

Commit

Permalink
fix: some docs pages
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-chase committed Aug 29, 2023
1 parent bd94990 commit 116e694
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions packages/core/.storybook/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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%;
}

0 comments on commit 116e694

Please sign in to comment.