update: macos blurred window and radius setup
This commit is contained in:
@@ -3,6 +3,7 @@ import { ReactNode } from "react"
|
||||
import clsx from "clsx"
|
||||
import { Home, MonitorOne, Movie, Setting, Terminal, Toolkit } from "@icon-park/react"
|
||||
import { useRouter } from "next/navigation"
|
||||
// import { platform } from "@tauri-apps/plugin-os"
|
||||
import useAppStore from "@/store/app"
|
||||
|
||||
interface SideButtonProps {
|
||||
@@ -41,7 +42,10 @@ const SideBar = () => {
|
||||
|
||||
return (
|
||||
<div
|
||||
className="absolute left-0 flex flex-col w-20 h-full select-none py-7"
|
||||
className={clsx(
|
||||
"absolute left-0 flex flex-col h-full select-none w-20 py-7",
|
||||
// platform() === "windows" ? "w-20" : "w-[4.25rem]"
|
||||
)}
|
||||
data-tauri-drag-region
|
||||
>
|
||||
<section className="mx-auto">
|
||||
@@ -74,7 +78,7 @@ const SideBar = () => {
|
||||
|
||||
<div className="mx-auto text-sm text-center text-zinc-500" data-tauri-drag-region>
|
||||
<p>版本号</p>
|
||||
<p onClick={()=> setVersion("x.y.z")}>{version}</p>
|
||||
<p onClick={() => setVersion("x.y.z")}>{version}</p>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user