From 30ee4cd888d5eb7645fa618ad18b3e0e7be7b4a1 Mon Sep 17 00:00:00 2001 From: amass <168062547@qq.com> Date: Mon, 26 Jun 2023 18:48:15 +0800 Subject: [PATCH] =?UTF-8?q?1.=E6=89=8B=E6=9C=BA=E6=A0=A1=E9=AA=8C=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E6=97=B6=EF=BC=8C=E4=B8=8D=E8=AE=A9=E5=8F=91=E9=80=81?= =?UTF-8?q?=E9=AA=8C=E8=AF=81=E7=A0=81=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/MainPage.js | 12 ++++++++---- src/PlayerBar.js | 1 + src/business/utilities.js | 14 ++++++++++++-- src/components/DynamicCodeForm.js | 1 + 4 files changed, 22 insertions(+), 6 deletions(-) diff --git a/src/MainPage.js b/src/MainPage.js index 98efb34..b55049c 100644 --- a/src/MainPage.js +++ b/src/MainPage.js @@ -49,7 +49,11 @@ const ClickHanlde = styled('div', { shouldForwardProp: (prop) => prop !== 'open' const Main = styled('main', { shouldForwardProp: (prop) => prop !== 'open' })( ({ theme, open }) => ({ flex: 1, - padding: theme.spacing(3), + paddingTop: 0, + paddingLeft: theme.spacing(3), + paddingRight: theme.spacing(3), + paddingBottom: theme.spacing(3), + marginTop: 48, transition: theme.transitions.create('margin', { easing: theme.transitions.easing.sharp, duration: theme.transitions.duration.leavingScreen, @@ -65,10 +69,10 @@ const Main = styled('main', { shouldForwardProp: (prop) => prop !== 'open' })( }), ); -const LyricItem = ({ empty, hasLyric, lyricsBrowserStyle, currentLyric, currentTime }) => { +const LyricItem = ({ empty, hasLyric, currentLyric, currentTime }) => { if (empty) { return