fix: preferences on mobile webview when zoomed in (#1731)
This commit is contained in:
@@ -3,7 +3,9 @@ import { FunctionComponent, ReactNode } from 'react'
|
||||
const PreferencesGroup: FunctionComponent<{
|
||||
children: ReactNode
|
||||
}> = ({ children }) => (
|
||||
<div className="mb-3 flex flex-col rounded border border-solid border-border bg-default p-6">{children}</div>
|
||||
<div className="mb-3 flex max-w-full flex-col rounded border border-solid border-border bg-default p-6">
|
||||
{children}
|
||||
</div>
|
||||
)
|
||||
|
||||
export default PreferencesGroup
|
||||
|
||||
@@ -3,7 +3,7 @@ import { FunctionComponent, ReactNode } from 'react'
|
||||
const PreferencesPane: FunctionComponent<{ children?: ReactNode }> = ({ children }) => (
|
||||
<div className="flex min-h-0 flex-grow flex-col overflow-y-auto text-foreground md:flex-row">
|
||||
<div className="flex flex-grow flex-col items-center px-3 py-6 md:px-0">
|
||||
<div className="flex flex-col md:w-125 md:max-w-125">
|
||||
<div className="flex max-w-full flex-col md:w-125 md:max-w-125">
|
||||
{children != undefined && Array.isArray(children) ? children.filter((child) => child != undefined) : children}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user