fix: Positioning of editing toolbar on mobile devices (#6279)

This commit is contained in:
Tom Moor
2023-12-13 19:22:06 -05:00
committed by GitHub
parent 04d4cb6d52
commit 53ff144f00
13 changed files with 121 additions and 40 deletions

View File

@@ -20,6 +20,7 @@ import env from "~/env";
import { initI18n } from "~/utils/i18n";
import Desktop from "./components/DesktopEventHandler";
import LazyPolyfill from "./components/LazyPolyfills";
import MobileScrollWrapper from "./components/MobileScrollWrapper";
import Routes from "./routes";
import Logger from "./utils/Logger";
import history from "./utils/history";
@@ -60,7 +61,7 @@ if (element) {
<LazyPolyfill>
<LazyMotion features={loadFeatures}>
<Router history={history}>
<>
<MobileScrollWrapper>
<PageTheme />
<ScrollToTop>
<Routes />
@@ -68,7 +69,7 @@ if (element) {
<Toasts />
<Dialogs />
<Desktop />
</>
</MobileScrollWrapper>
</Router>
</LazyMotion>
</LazyPolyfill>