Skip to content

Commit

Permalink
rename story helper classes in decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenjwatkins committed Oct 24, 2023
1 parent fb9dccd commit 325ac84
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .storybook/preview-head.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
window.global = window;
</script>
<style>
.sb-main-padded .story-with-product-layout {
.sb-main-padded .full-screen-story {
margin: -1rem;
}
.story-with-product-layout {
.product-layout-story {
background: #f1f1f1;
}
</style>
Expand Down
2 changes: 1 addition & 1 deletion easy-ui-react/src/ProductLayout/ProductLayout.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const meta: Meta<typeof ProductLayout> = {
component: ProductLayout,
decorators: [
(Story) => (
<div className="story-with-product-layout">
<div className="full-screen-story product-layout-story">
<Story />
</div>
),
Expand Down

0 comments on commit 325ac84

Please sign in to comment.