1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-10 21:33:27 +00:00

[CL-586] Ensure story elements do not overflow due to wrapper border (#13348)

This commit is contained in:
Vicki League
2025-02-12 13:16:13 -05:00
committed by GitHub
parent 2284fe32be
commit c1fbaf6acf

View File

@@ -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>`,