Skip to content

Commit

Permalink
fix(flat-pages): wrong style on login page (#1897)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyrious authored Apr 18, 2023
1 parent b335e45 commit 28334c6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/flat-components/src/components/LoginPage/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
display: flex;
}

.login-panel-cover {
-webkit-app-region: drag;
}

.login-panel-cover,
.login-panel-inner {
flex: 1;
Expand Down Expand Up @@ -40,10 +44,12 @@
}

.flat-color-scheme-dark {

.login-splitter::before,
.login-splitter::after {
border-color: var(--grey-8);
}

.ant-input-affix-wrapper {
.ant-btn::before {
background: var(--grey-10);
Expand Down
1 change: 1 addition & 0 deletions packages/flat-pages/src/LoginPage/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
border-radius: 12px;
box-shadow: 0 4px 40px rgb(0 0 0 / 15%);
background-color: #fff;
z-index: 1000;
}

.flat-color-scheme-dark {
Expand Down

0 comments on commit 28334c6

Please sign in to comment.