Skip to content

Commit

Permalink
fix: add margin to skeleton loaders for lists
Browse files Browse the repository at this point in the history
  • Loading branch information
thoreyjona committed Sep 11, 2024
1 parent f1b953b commit 32d3ffd
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,11 @@ export const ApplicationsList = ({
const renderItem = useCallback(
({ item }: ListRenderItemInfo<FlatListItem>) => {
if (item.__typename === 'Skeleton') {
return <StatusCardSkeleton />
return (
<View style={{ marginHorizontal: theme.spacing[2] }}>
<StatusCardSkeleton />
</View>
)
}

if (item.__typename === 'Empty') {
Expand Down

0 comments on commit 32d3ffd

Please sign in to comment.