Skip to content

Commit

Permalink
fix: example websites modal and bottom tab component styles
Browse files Browse the repository at this point in the history
  • Loading branch information
burhanyilmaz committed May 6, 2024
1 parent ca3ca9d commit d67be98
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/BottomTab/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const BottomNavigation = ({ navigation, state }: BottomTabBarProps) => {
const onPressNavigate = (screen: string) => () => navigation.navigate(screen);

return (
<View className="border-t-b1 border-t-zinc-100 bg-zinc-50">
<View className="border-t-b1 border-t-zinc-100 bg-zinc-50 pb-2">
<View
className="pt-2 px-5 flex-row justify-between"
style={{
Expand Down
6 changes: 2 additions & 4 deletions src/components/ExampleWpSites.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type Props = {
const ExampleWpSites = ({ visible, onClose, onPressExampleWebsite }: Props) => (
<Modal visible={visible} transparent animationType="none">
<View className="flex-1 justify-end items-center" style={styles.overlay}>
<SafeAreaView className="w-full bg-zinc-100 rounded-t-xl ">
<SafeAreaView className="w-full bg-zinc-100 rounded-t-xl flex-1">
<FlatList
data={ExampleWPWebsites}
renderItem={({ item }) => (
Expand All @@ -32,11 +32,9 @@ const ExampleWpSites = ({ visible, onClose, onPressExampleWebsite }: Props) => (
className="mx-5 py-2 flex-row items-center justify-between border-b-0.5 border-zinc-500">
<View className="flex-row items-center">
<Image
source={{
uri: item.image,
}}
resizeMode="contain"
className="h-16 w-16 mr-4"
source={{ uri: item.image }}
/>
<Text className={text({ type: 'title4' })}>{item.name}</Text>
</View>
Expand Down

0 comments on commit d67be98

Please sign in to comment.