perf: 调整手机端搜索框等组件下拉样式

This commit is contained in:
Montia37
2025-09-08 00:40:49 +08:00
parent 9e0d24d6cc
commit 743048bb25
2 changed files with 2 additions and 9 deletions

View File

@@ -91,7 +91,7 @@ export const Header = ({
</DropdownMenuTrigger>
<DropdownMenuContent
align="end"
className="purcarte-blur border-(--accent-a4) rounded-xl w-48">
className="purcarte-blur border-(--accent-a4) rounded-xl w-[90vw] translate-x-[5vw] mt-[.5rem] max-w-screen-2xl">
<div className="p-2">
<Input
type="search"
@@ -118,7 +118,7 @@ export const Header = ({
</DropdownMenuTrigger>
<DropdownMenuContent
align="end"
className="purcarte-blur border-(--accent-a4) rounded-xl">
className="purcarte-blur mt-[.5rem] border-(--accent-a4) rounded-xl">
<DropdownMenuItem
onClick={() =>
setViewMode(viewMode === "grid" ? "table" : "grid")