Skip to content

Commit

Permalink
disable viewport offset
Browse files Browse the repository at this point in the history
  • Loading branch information
a-type committed Aug 24, 2024
1 parent 4cb8d4b commit 393797d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apps/trip-tick/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"type": "module",
"scripts": {
"app-dev": "vite",
"app-dev": "vite --host",
"build": "vite build",
"preview": "vite preview"
},
Expand Down
2 changes: 1 addition & 1 deletion apps/trip-tick/web/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export function App() {
return (
<div className="flex flex-col flex-1 w-full h-full">
<Suspense fallback={<FullScreenSpinner />}>
<UIProvider>
<UIProvider disableViewportOffset>
<Provider appId="trip-tick" storeDescriptor={clientDescriptor as any}>
<LofiProvider>
<Pages />
Expand Down
2 changes: 1 addition & 1 deletion apps/wish-wash/web/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export interface AppProps {}
export function App({}: AppProps) {
return (
<ErrorBoundary fallback={<ErrorFallback />}>
<UIProvider toastContainerClassName="mb-10 sm:mb-0">
<UIProvider toastContainerClassName="mb-10 sm:mb-0" disableViewportOffset>
<Suspense>
<Provider appId="wish-wash" storeDescriptor={clientDescriptor as any}>
<VerdantProvider>
Expand Down
4 changes: 2 additions & 2 deletions packages/client/src/components/Explainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ export function Explainer({ stages }: ExplainerProps) {
}}
>
<DialogContent
outerClassName="h-screen max-h-none sm:(h-auto max-h-[80vh]) overflow-y-auto"
className="h-screen sm:h-auto"
outerClassName="h-screen max-h-90vh sm:(h-auto max-h-[80vh]) overflow-y-auto"
className="h-full sm:h-auto"
>
<div className="col gap-4 flex-1 items-start">{stages[stage]}</div>
<DialogActions>
Expand Down

0 comments on commit 393797d

Please sign in to comment.