Sizing tweaks
(cherry picked from commit fc716d5716873f0fddef56496fc48af0614b2e55)
This commit is contained in:
@@ -18,7 +18,7 @@ import {useWebMediaQueries} from 'lib/hooks/useWebMediaQueries'
|
|||||||
import {cleanError} from 'lib/strings/errors'
|
import {cleanError} from 'lib/strings/errors'
|
||||||
import {colors, gradients, s} from 'lib/styles'
|
import {colors, gradients, s} from 'lib/styles'
|
||||||
import {useTheme} from 'lib/ThemeContext'
|
import {useTheme} from 'lib/ThemeContext'
|
||||||
import {isAndroid} from 'platform/detection'
|
import {isAndroid, isWeb} from 'platform/detection'
|
||||||
import {DeactivateAccountDialog} from '#/screens/Settings/components/DeactivateAccountDialog'
|
import {DeactivateAccountDialog} from '#/screens/Settings/components/DeactivateAccountDialog'
|
||||||
import {atoms as a, useTheme as useNewTheme} from '#/alf'
|
import {atoms as a, useTheme as useNewTheme} from '#/alf'
|
||||||
import {useDialogControl} from '#/components/Dialog'
|
import {useDialogControl} from '#/components/Dialog'
|
||||||
@@ -177,40 +177,43 @@ export function Component({}: {}) {
|
|||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<View
|
<View style={[!isWeb && a.px_xl]}>
|
||||||
style={[
|
<View
|
||||||
a.flex_row,
|
|
||||||
a.gap_sm,
|
|
||||||
a.mt_lg,
|
|
||||||
a.p_lg,
|
|
||||||
a.rounded_sm,
|
|
||||||
t.atoms.bg_contrast_25,
|
|
||||||
]}>
|
|
||||||
<CircleInfo
|
|
||||||
size="xl"
|
|
||||||
style={[
|
style={[
|
||||||
a.relative,
|
a.w_full,
|
||||||
{
|
a.flex_row,
|
||||||
top: -5,
|
a.gap_sm,
|
||||||
},
|
a.mt_lg,
|
||||||
]}
|
a.p_lg,
|
||||||
/>
|
a.rounded_sm,
|
||||||
|
t.atoms.bg_contrast_25,
|
||||||
|
]}>
|
||||||
|
<CircleInfo
|
||||||
|
size="md"
|
||||||
|
style={[
|
||||||
|
a.relative,
|
||||||
|
{
|
||||||
|
top: -1,
|
||||||
|
},
|
||||||
|
]}
|
||||||
|
/>
|
||||||
|
|
||||||
<NewText style={[a.leading_snug]}>
|
<NewText style={[a.leading_snug, a.flex_1]}>
|
||||||
<Trans>
|
<Trans>
|
||||||
You can also temporarily deactivate your account instead, and
|
You can also temporarily deactivate your account instead,
|
||||||
reactivate it at any time.
|
and reactivate it at any time.
|
||||||
</Trans>{' '}
|
</Trans>{' '}
|
||||||
<InlineLinkText
|
<InlineLinkText
|
||||||
to="#"
|
to="#"
|
||||||
onPress={e => {
|
onPress={e => {
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
deactivateAccountControl.open()
|
deactivateAccountControl.open()
|
||||||
return false
|
return false
|
||||||
}}>
|
}}>
|
||||||
<Trans>Click here for more information.</Trans>
|
<Trans>Click here for more information.</Trans>
|
||||||
</InlineLinkText>
|
</InlineLinkText>
|
||||||
</NewText>
|
</NewText>
|
||||||
|
</View>
|
||||||
</View>
|
</View>
|
||||||
|
|
||||||
<DeactivateAccountDialog control={deactivateAccountControl} />
|
<DeactivateAccountDialog control={deactivateAccountControl} />
|
||||||
|
|||||||
Reference in New Issue
Block a user