From f3da8036e9fb0d22a8ba8585de7377b606646cba Mon Sep 17 00:00:00 2001 From: yuzh <46953451+yuzh0816@users.noreply.github.com> Date: Fri, 19 Jan 2024 17:18:16 +0800 Subject: [PATCH] fix: fix & beautify index tag --- packages/desktop/main/index.ts | 2 +- packages/web/components/Layout.tsx | 2 +- packages/web/pages/My/Collections.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/desktop/main/index.ts b/packages/desktop/main/index.ts index 04afd02..c0cfe22 100644 --- a/packages/desktop/main/index.ts +++ b/packages/desktop/main/index.ts @@ -115,7 +115,7 @@ class Main { }, width: store.get('window.width'), height: store.get('window.height'), - minWidth: 1240, + minWidth: 1260, minHeight: 800, titleBarStyle: 'hidden', trafficLightPosition: { x: 18, y: 20 }, diff --git a/packages/web/components/Layout.tsx b/packages/web/components/Layout.tsx index 7dc2126..cca0db4 100644 --- a/packages/web/components/Layout.tsx +++ b/packages/web/components/Layout.tsx @@ -85,7 +85,7 @@ const Layout = () => { className={cx( // mask will affect the borde radius window.env?.isElectron && !fullscreen && 'rounded-12', - 'absolute inset-0 z-0', + 'absolute inset-0 z-0 backdrop-blur-xl', theme === 'dark' ? 'bg-black/40' : 'bg-white/40' )} /> diff --git a/packages/web/pages/My/Collections.tsx b/packages/web/pages/My/Collections.tsx index f6cc388..50a7a55 100644 --- a/packages/web/pages/My/Collections.tsx +++ b/packages/web/pages/My/Collections.tsx @@ -159,7 +159,7 @@ const Collections = () => { const { librarySelectedTab: selectedTab } = useSnapshot(persistedUiStates) return ( - +
{selectedTab === 'daily' && } {selectedTab === 'albums' && }