mirror of
https://github.com/fankes/komari-theme-purcarte.git
synced 2025-10-19 20:09:24 +08:00
perf: 调整手机端搜索框等组件下拉样式
This commit is contained in:
@@ -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")
|
||||
|
Reference in New Issue
Block a user