fix: the search results on the Discover Page are not centered (#1029)

This commit is contained in:
Kieran Cui 2024-10-21 08:32:47 +08:00 committed by GitHub
parent a09b80e933
commit 93461e8ad7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ export function Component() {
</TabsList>
{currentTabs.map((tab) => (
<TabsContent key={tab.name} value={tab.value} className="mt-8">
<div className={tab.value === "inbox" ? "" : "center flex"}>
<div className={tab.value === "inbox" ? "" : "center flex flex-col"}>
{createElement(TabComponent[tab.value] || TabComponent.default, {
type: tab.value,
})}