fix: the search results on the Discover Page are not centered (#1029)
This commit is contained in:
parent
a09b80e933
commit
93461e8ad7
|
|
@ -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,
|
||||
})}
|
||||
|
|
|
|||
Loading…
Reference in New Issue