Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style: change placeholder width #279

Merged
merged 1 commit into from
Dec 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const TopCollectionsHomeSection: FC = () => {

if (!topCollections.length) {
return (
<SafeAreaView className="flex-1">
<SafeAreaView className="w-full flex-1 self-center">
<HomeEmptyCollection />
</SafeAreaView>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const DiscoverReviewersHomeSection: FC = () => {

if (!data.length) {
return (
<SafeAreaView className="flex-1">
<SafeAreaView className="w-full flex-1 self-center">
<HomeEmptyReviewer />
</SafeAreaView>
);
Expand Down
2 changes: 1 addition & 1 deletion apps/expo/src/components/discovers/DiscoverHomeSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const DiscoverHomeSection: FC = () => {

if (!data.length) {
return (
<SafeAreaView className="flex-1">
<SafeAreaView className="w-full flex-1 self-center">
<HomeEmptyTest />
</SafeAreaView>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ const HomeEmptyCollection: FC = () => {
};

return (
<SafeAreaView>
<SafeAreaView className="flex-1">
<View className="h-[75%] items-center">
<HomeEmptyCollectionBanner />
<HomeEmptyCollectionBanner width={"90%"} />
</View>

<View className="bottom-8 left-9 h-[23%] w-[30%]">
Expand Down
4 changes: 2 additions & 2 deletions apps/expo/src/components/home-empty-section/EmptyReviewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ const HomeEmptyReviewer: FC = () => {
};

return (
<SafeAreaView>
<SafeAreaView className="flex-1">
<View className="h-[75%] items-center">
<HomeEmptyReviewerBanner />
<HomeEmptyReviewerBanner width={"90%"} />
</View>

<View className="bottom-8 left-9 h-[23%] w-[30%]">
Expand Down
4 changes: 2 additions & 2 deletions apps/expo/src/components/home-empty-section/EmptyTest.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ const HomeEmptyTest: FC = () => {
};

return (
<SafeAreaView>
<SafeAreaView className="flex-1">
<View className="h-[75%] items-center">
<HomeEmptyTestBanner />
<HomeEmptyTestBanner width={"90%"} />
</View>

<View className="bottom-8 left-9 h-[23%] w-[30%]">
Expand Down
Loading