Skip to content

Commit

Permalink
Fix layout bugs in appeals dialog (#5657)
Browse files Browse the repository at this point in the history
  • Loading branch information
haileyok authored Oct 9, 2024
1 parent 857b20b commit f52be63
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/moderation/LabelsOnMeDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {useLabelInfo} from '#/lib/moderation/useLabelInfo'
import {makeProfileLink} from '#/lib/routes/links'
import {sanitizeHandle} from '#/lib/strings/handles'
import {logger} from '#/logger'
import {isAndroid} from '#/platform/detection'
import {useAgent, useSession} from '#/state/session'
import * as Toast from '#/view/com/util/Toast'
import {atoms as a, useBreakpoints, useTheme} from '#/alf'
Expand Down Expand Up @@ -237,7 +238,7 @@ function AppealForm({

return (
<>
<View style={{flexWrap: 'wrap', flexDirection: 'row'}}>
<View>
<Text style={[a.text_2xl, a.font_bold, a.pb_xs, a.leading_tight]}>
<Trans>Appeal "{strings.name}" label</Trans>
</Text>
Expand Down Expand Up @@ -300,6 +301,7 @@ function AppealForm({
{isPending && <ButtonIcon icon={Loader} />}
</Button>
</View>
{isAndroid && <View style={{height: 300}} />}
</>
)
}

0 comments on commit f52be63

Please sign in to comment.