From c6fba24f97c5d2a3803f3590ddb4da53c5f06791 Mon Sep 17 00:00:00 2001 From: spencerwooo Date: Fri, 17 Dec 2021 15:28:11 +0800 Subject: [PATCH] minor style changes to input and button hover effects --- components/Auth.tsx | 47 ++++++++++++++-------------- components/DownloadBtn.tsx | 4 +-- components/Navbar.tsx | 2 +- components/previews/VideoPreview.tsx | 19 ++++------- 4 files changed, 33 insertions(+), 39 deletions(-) diff --git a/components/Auth.tsx b/components/Auth.tsx index 515612e..fc27997 100644 --- a/components/Auth.tsx +++ b/components/Auth.tsx @@ -25,30 +25,31 @@ const Auth: FunctionComponent<{ redirect: string }> = ({ redirect }) => { enter it below.

- { - setToken(e.target.value) - }} - onKeyPress={e => { - if (e.key === 'Enter' || e.key === 'NumpadEnter') { +
+ { + setToken(e.target.value) + }} + onKeyPress={e => { + if (e.key === 'Enter' || e.key === 'NumpadEnter') { + router.reload() + } + }} + /> + + }} + > + + +
) } diff --git a/components/DownloadBtn.tsx b/components/DownloadBtn.tsx index 66798a7..2aacb53 100644 --- a/components/DownloadBtn.tsx +++ b/components/DownloadBtn.tsx @@ -21,7 +21,7 @@ const DownloadBtn: FunctionComponent<{ downloadUrl: string }> = ({ downloadUrl } }} /> = ({ downloadUrl } Download = ({ file }) => { IINA = ({ file }) => { VLC