mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-02-15 07:28:59 +00:00
Move storybooks dir attr to html element
This commit is contained in:
@@ -155,8 +155,10 @@ const withGlobalTypesProvider = (Story, context) => {
|
||||
|
||||
document.body.classList.add('page-is-visible');
|
||||
|
||||
document.documentElement.setAttribute('dir', direction);
|
||||
|
||||
return (
|
||||
<div className={styles.container} dir={direction}>
|
||||
<div className={styles.container}>
|
||||
<StorybookThemeContext.Provider value={theme}>
|
||||
<Story {...context} />
|
||||
</StorybookThemeContext.Provider>
|
||||
|
||||
Reference in New Issue
Block a user