Skip to content

Commit

Permalink
[CL-586] Ensure story elements do not overflow due to wrapper border (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
vleague2 authored Feb 12, 2025
1 parent 2284fe3 commit c1fbaf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/components/src/stories/storybook-decorators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const positionFixedWrapperDecorator = (wrapper?: (story: string) => strin
*/
(story) =>
/* HTML */ `<div
class="tw-scale-100 tw-h-screen tw-border-2 tw-border-solid tw-border-secondary-300 tw-overflow-auto"
class="tw-scale-100 tw-h-screen tw-border-2 tw-border-solid tw-border-secondary-300 tw-overflow-auto tw-box-content"
>
${wrapper ? wrapper(story) : story}
</div>`,
Expand Down

0 comments on commit c1fbaf6

Please sign in to comment.