Storybook: clear font size in room list item story (#32594)

* chore: clean added font size in room list item story

* test: fix screenshot
This commit is contained in:
Florian Duros 2026-02-23 10:14:38 +01:00 committed by GitHub
parent c8b971ea72
commit 62523b2bf1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

@ -226,7 +226,11 @@ export const WithLargeFont: Story = {
decorators: [
(Story) => {
useEffect(() => {
const originalFontSize = getComputedStyle(document.documentElement).fontSize;
document.documentElement.style.setProperty("font-size", "36px");
return () => {
document.documentElement.style.setProperty("font-size", originalFontSize);
};
}, []);
return <Story />;
},