From acfe5dbb49a6cde97cdc8349d7879727b3f506e7 Mon Sep 17 00:00:00 2001
From: GyDi <segydi@foxmail.com>
Date: Fri, 9 Sep 2022 16:19:13 +0800
Subject: [PATCH] fix: reduce logo size

---
 src/assets/styles/layout.scss | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/src/assets/styles/layout.scss b/src/assets/styles/layout.scss
index 6257412..3616479 100644
--- a/src/assets/styles/layout.scss
+++ b/src/assets/styles/layout.scss
@@ -16,12 +16,14 @@
     user-select: none;
     overflow: hidden;
 
+    $maxLogo: 90px;
+
     .the-logo {
       position: relative;
-      flex: 0 1 168px;
+      flex: 0 1 $maxLogo;
       width: 100%;
-      max-width: 168px;
-      max-height: 168px;
+      max-width: $maxLogo + 32px;
+      max-height: $maxLogo;
       margin: 0 auto;
       padding: 0 16px;
       text-align: center;
@@ -29,15 +31,15 @@
 
       img,
       svg {
-        width: 96%;
-        height: 96%;
+        width: 100%;
+        height: 100%;
         pointer-events: none;
       }
 
       .the-newbtn {
         position: absolute;
-        right: 20px;
-        bottom: 12px;
+        right: 10px;
+        bottom: 0px;
         transform: scale(0.8);
       }
     }
-- 
GitLab