From bfb2db73b5cc66568f6e7c37364423aa1a032e12 Mon Sep 17 00:00:00 2001 From: symant233 Date: Tue, 29 Nov 2022 18:58:49 +0800 Subject: [PATCH] Add box-shadow, reduce padding on mobile. --- components/FolderGridLayout.tsx | 2 +- components/FolderListLayout.tsx | 2 +- components/Navbar.tsx | 2 +- components/SwitchLayout.tsx | 2 +- components/previews/Containers.tsx | 4 ++-- pages/[...path].tsx | 4 ++-- pages/index.tsx | 4 ++-- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/components/FolderGridLayout.tsx b/components/FolderGridLayout.tsx index 9e4cbac..89721be 100644 --- a/components/FolderGridLayout.tsx +++ b/components/FolderGridLayout.tsx @@ -76,7 +76,7 @@ const FolderGridLayout = ({ const getItemPath = (name: string) => `${path === '/' ? '' : path}/${encodeURIComponent(name)}` return ( -
+
{t('{{count}} item(s)', { count: folderChildren.length })}
diff --git a/components/FolderListLayout.tsx b/components/FolderListLayout.tsx index b0a1b94..ca23401 100644 --- a/components/FolderListLayout.tsx +++ b/components/FolderListLayout.tsx @@ -53,7 +53,7 @@ const FolderListLayout = ({ const getItemPath = (name: string) => `${path === '/' ? '' : path}/${encodeURIComponent(name)}` return ( -
+
{t('Name')} diff --git a/components/Navbar.tsx b/components/Navbar.tsx index 47a796f..6ff927b 100644 --- a/components/Navbar.tsx +++ b/components/Navbar.tsx @@ -120,7 +120,7 @@ const Navbar = () => { {tokenPresent && (