-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[web-components-v3] Revert storybook modifications (#31332)
- Loading branch information
Showing
9 changed files
with
624 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,23 @@ | ||
/* remove the docs wrapper bg to let page bg show through */ | ||
/* remove unnecessary padding now that theme switcher is not taking up space */ | ||
#docs-root .sbdocs-wrapper { | ||
background: transparent !important; | ||
padding-top: 0; | ||
} | ||
|
||
/* sb-show-main is missing during page transitions causing a page shift */ | ||
/* todo: cleanup once we no longer inherit docs-root */ | ||
.sb-show-main.sb-main-fullscreen, | ||
.sb-main-fullscreen { | ||
margin: 0; | ||
padding: 0; | ||
display: block; | ||
} | ||
|
||
/* remove loading overlay */ | ||
.sb-preparing-story, | ||
.sb-preparing-docs, | ||
.sb-nopreview, | ||
.sb-errordisplay { | ||
display: none !important; | ||
} | ||
|
||
/* Hide props table controls, since they don't work in the React implementation */ | ||
#docs-root .docblock-argstable-head > tr > th:nth-child(4), | ||
#docs-root .docblock-argstable-body > tr > td:nth-child(4) { | ||
display: none; | ||
} | ||
|
||
/* Hide the toolbar on the first story: zoom in, zoom out, reset zoom, open in new tab */ | ||
#docs-root .sbdocs-preview > .os-host { | ||
display: none; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 0 additions & 49 deletions
49
packages/web-components/.storybook/docs-root-web-compoents.css
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.