fix(search-page): add overflow-x-auto and min-width to prevent layout issues (#18050)

This commit is contained in:
chanx
2026-08-10 17:28:05 +08:00
committed by GitHub
parent d69d75fffb
commit 6b73341827

View File

@@ -34,10 +34,10 @@ export default function SearchPage() {
return (
<section
className="size-full flex-1 relative px-5 pb-5 flex pt-4"
className="size-full flex-1 relative px-5 pb-5 flex pt-4 overflow-x-auto"
data-testid="search-detail"
>
<div className="flex gap-3 w-full bg-bg-base border-0.5 border-border-button">
<div className="flex gap-3 w-full bg-bg-base border-0.5 border-border-button min-w-[1280px] ">
<div className="flex-1 min-w-0">
{!isSearching && (
<div className="animate-fade-in-down">