Fix issue where empty state message is not centered (#9501)
This commit is contained in:
@@ -192,7 +192,9 @@ let ListMaybePlaceholder = ({
|
|||||||
|
|
||||||
if (useEmptyState) {
|
if (useEmptyState) {
|
||||||
return (
|
return (
|
||||||
<View style={[t.atoms.border_contrast_low]}>
|
<CenteredView
|
||||||
|
style={[t.atoms.border_contrast_low]}
|
||||||
|
sideBorders={sideBorders ?? gtMobile}>
|
||||||
<EmptyState
|
<EmptyState
|
||||||
icon={emptyStateIcon}
|
icon={emptyStateIcon}
|
||||||
message={
|
message={
|
||||||
@@ -203,7 +205,7 @@ let ListMaybePlaceholder = ({
|
|||||||
}
|
}
|
||||||
button={emptyStateButton}
|
button={emptyStateButton}
|
||||||
/>
|
/>
|
||||||
</View>
|
</CenteredView>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user