diff options
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/Prompt.tsx | 4 | ||||
-rw-r--r-- | src/components/dialogs/MutedWords.tsx | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/components/Prompt.tsx b/src/components/Prompt.tsx index 0a171674d..327bbbaa2 100644 --- a/src/components/Prompt.tsx +++ b/src/components/Prompt.tsx @@ -43,7 +43,9 @@ export function Outer({ <Dialog.ScrollableInner accessibilityLabelledBy={titleId} accessibilityDescribedBy={descriptionId} - style={[gtMobile ? {width: 'auto', maxWidth: 400} : a.w_full]}> + style={[ + gtMobile ? {width: 'auto', maxWidth: 400, minWidth: 200} : a.w_full, + ]}> {children} </Dialog.ScrollableInner> </Context.Provider> diff --git a/src/components/dialogs/MutedWords.tsx b/src/components/dialogs/MutedWords.tsx index 0eced11e3..534263422 100644 --- a/src/components/dialogs/MutedWords.tsx +++ b/src/components/dialogs/MutedWords.tsx @@ -37,12 +37,12 @@ export function MutedWordsDialog() { return ( <Dialog.Outer control={control}> <Dialog.Handle /> - <MutedWordsInner control={control} /> + <MutedWordsInner /> </Dialog.Outer> ) } -function MutedWordsInner({}: {control: Dialog.DialogOuterProps['control']}) { +function MutedWordsInner() { const t = useTheme() const {_} = useLingui() const {gtMobile} = useBreakpoints() |