diff options
author | Paul Frazee <pfrazee@gmail.com> | 2024-11-23 16:20:24 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-23 16:20:24 -0800 |
commit | 32bf8122e8c8a0fbadd53b8a015cfbc9014519a2 (patch) | |
tree | 55bd24596e6fadadbf4326b26e3d14e418c5c7bb /src/components/moderation/LabelPreference.tsx | |
parent | 523d1f01a51c0e85e49916fb42b204f7004ffac1 (diff) | |
parent | b4d07c4112b9a62b5380948051aa4a7fd391a2d4 (diff) | |
download | voidsky-32bf8122e8c8a0fbadd53b8a015cfbc9014519a2.tar.zst |
Merge branch 'main' into main
Diffstat (limited to 'src/components/moderation/LabelPreference.tsx')
-rw-r--r-- | src/components/moderation/LabelPreference.tsx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/components/moderation/LabelPreference.tsx b/src/components/moderation/LabelPreference.tsx index ecdbcfd25..e6f18f1d6 100644 --- a/src/components/moderation/LabelPreference.tsx +++ b/src/components/moderation/LabelPreference.tsx @@ -22,7 +22,7 @@ export function Outer({children}: React.PropsWithChildren<{}>) { <View style={[ a.flex_row, - a.gap_md, + a.gap_sm, a.px_lg, a.py_lg, a.justify_between, @@ -74,10 +74,9 @@ export function Buttons({ hideLabel?: string }) { const {_} = useLingui() - const {gtPhone} = useBreakpoints() return ( - <View style={[{minHeight: 35}, gtPhone ? undefined : a.w_full]}> + <View style={[{minHeight: 35}, a.w_full]}> <ToggleButton.Group label={_( msg`Configure content filtering setting for category: ${name}`, @@ -259,7 +258,7 @@ export function LabelerLabelPreference({ </Content> {showConfig && ( - <View style={[gtPhone ? undefined : a.w_full]}> + <> {cantConfigure ? ( <View style={[ @@ -290,7 +289,7 @@ export function LabelerLabelPreference({ hideLabel={hideLabel} /> )} - </View> + </> )} </Outer> ) |