fix: reduce logo size

This commit is contained in:
GyDi 2022-09-09 16:19:13 +08:00 committed by GitHub
parent f9b91fa189
commit acfe5dbb49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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