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

bug: fix broken banner position hub screen #846

Merged
merged 2 commits into from
Dec 5, 2023
Merged
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
13 changes: 9 additions & 4 deletions web/screens/ExploreModels/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,11 @@ const ExploreModelsScreen = () => {
<div className="h-full" data-test-id="testid-explore-models">
<ScrollArea>
<div className="relative">
<img src="./images/hub-banner.png" alt="Hub Banner" />
<img
src="./images/hub-banner.png"
alt="Hub Banner"
className="w-full object-cover"
/>
<div className="absolute left-1/2 top-1/2 w-1/3 -translate-x-1/2 -translate-y-1/2">
<SearchIcon
size={20}
Expand All @@ -74,8 +78,9 @@ const ExploreModelsScreen = () => {
</div>
</div>
<div className="mx-auto w-4/5 py-6">
<div className="flex items-center justify-between">
<div className="inline-flex overflow-hidden rounded-lg border border-border">
<div className="flex items-center justify-end">
{/* Temporary hide tabs */}
{/* <div className="inline-flex overflow-hidden rounded-lg border border-border">
<div
className={twMerge(
'flex cursor-pointer items-center space-x-2 border-r border-border px-3 py-2',
Expand Down Expand Up @@ -104,7 +109,7 @@ const ExploreModelsScreen = () => {
<TooltipArrow />
</TooltipContent>
</Tooltip>
</div>
</div> */}

<Select
value={sortSelected}
Expand Down
Loading