Skip to content

Commit

Permalink
Update Docs class name escape hatches (#8448)
Browse files Browse the repository at this point in the history
Update Docs class name escape hatches
  • Loading branch information
shilman committed Oct 17, 2019
2 parents be05707 + 1ade1f7 commit 8d2876b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/docs/docs/theming.md
Expand Up @@ -27,7 +27,7 @@ addParameters({

The Storybook theme API is narrow by design. If you want to have fine-grained control over the CSS, all of the Docs components are tagged with class names to make this possible. This is advanced usage: use at your own risk.

The classes correspond to markdown elements (e.g. `sbdocs-h1`, `sbdocs-p`, etc.) to UI elements on the page (e.g. `sbdocs-container`, `sbdocs-content`, etc.). To see the currently available classes, use "inspect element" in your browser.
The classes correspond to markdown elements (e.g. `sbdocs-title`, `sbdocs-subtitle`, `sbdocs-p`, etc.) to UI elements on the page (e.g. `sbdocs-container`, `sbdocs-content`, etc.). To see the currently available classes, use "inspect element" in your browser.

You can style these classes in `.storybook/preview-head.html`. For example, here's how to make the content wider for UHD displays:

Expand Down

1 comment on commit 8d2876b

@vercel
Copy link

@vercel vercel bot commented on 8d2876b Oct 17, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.