fix style in app share (#995)

This commit is contained in:
crazywoola 2023-08-24 17:57:25 +08:00 • committed by GitHub
commit f13623184a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 12 deletions

View file

@ -1,4 +1,4 @@
import React from "react";
import React from 'react'
import type { FC } from 'react'
import GA, { GaType } from '@/app/components/base/ga'
@ -6,13 +6,11 @@ const Layout: FC<{
children: React.ReactNode
}> = ({ children }) => {
return (
<div className="overflow-x-auto">
<div className="w-screen h-screen min-w-[300px]">
<GA gaType={GaType.webapp} />
{children}
</div>
<div className="min-w-[300px]">
<GA gaType={GaType.webapp} />
{children}
</div>
)
}
export default Layout
export default Layout