From 54d14baddf9047779f7605c7b9c9a5d13e32d275 Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Sat, 28 Aug 2021 19:29:01 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20sidebar=20view=20=E7=A7=BB=E5=8A=A8?= =?UTF-8?q?=E7=AB=AF=E9=80=82=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/components/SidebarView.tsx | 10 +++++----- web/tailwind.config.js | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/web/src/components/SidebarView.tsx b/web/src/components/SidebarView.tsx index 903643f0..df37e86d 100644 --- a/web/src/components/SidebarView.tsx +++ b/web/src/components/SidebarView.tsx @@ -144,10 +144,10 @@ export const SidebarView: React.FC = React.memo((props) => { return ( -
+
{menu.map((item, i) => ( @@ -155,8 +155,8 @@ export const SidebarView: React.FC = React.memo((props) => {
{content}
diff --git a/web/tailwind.config.js b/web/tailwind.config.js index 54572d91..d7a14950 100644 --- a/web/tailwind.config.js +++ b/web/tailwind.config.js @@ -50,6 +50,7 @@ module.exports = { md: { max: '767px' }, sm: { max: '639px' }, mobile: { max: '639px' }, // alias + desktop: { min: '640px' }, // alias }, extend: { borderRadius: {