fix: drag error

This commit is contained in:
MystiPanda 2024-03-16 17:06:59 +08:00
parent 3edeaa7038
commit 71e6c02897
No known key found for this signature in database
GPG Key ID: 47D0F0284DC57888
2 changed files with 6 additions and 3 deletions

View File

@ -11,7 +11,8 @@
width: 100%; width: 100%;
// max-width: 225px; // max-width: 225px;
// min-width: 225px; // min-width: 225px;
padding: 16px 0 8px; // padding: 16px 0 8px;
padding: 0px 0px 8px;
// position: relative; // position: relative;
flex-direction: column; flex-direction: column;
align-self: stretch; align-self: stretch;
@ -117,11 +118,13 @@
.unknown { .unknown {
&.layout { &.layout {
.layout__left { .layout__left {
padding-top: 24px; // padding-top: 24px;
} }
.layout__left .the-logo { .layout__left .the-logo {
flex: 1 0 58px; flex: 1 0 58px;
padding-top: 40px;
padding-bottom: 16px;
} }
.layout__right .the-content { .layout__right .the-content {

View File

@ -132,7 +132,7 @@ const Layout = () => {
: {}, : {},
]} ]}
> >
<div className="layout__left" data-tauri-drag-region="true"> <div className="layout__left">
<div className="the-logo" data-tauri-drag-region="true"> <div className="the-logo" data-tauri-drag-region="true">
{!isDark ? <LogoSvg /> : <LogoSvg_dark />} {!isDark ? <LogoSvg /> : <LogoSvg_dark />}
{<UpdateButton className="the-newbtn" />} {<UpdateButton className="the-newbtn" />}