Skip to content

Commit

Permalink
fix(editor): More dark-mode fixes (no-changelog) (#7624)
Browse files Browse the repository at this point in the history
This fixes:
1. The `OR` divider background when SSO Login is enabled
2. Scanning of QR code in settings in dark mode
  • Loading branch information
netroy authored and krynble committed Nov 7, 2023
1 parent be6fbf2 commit 58fa04a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 8 additions & 0 deletions packages/editor-ui/src/components/MfaSetupModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,14 @@ export default defineComponent({
padding-bottom: var(--spacing-xl);
}
.qrContainer {
text-align: center;
canvas {
border: 4px solid var(--prim-gray-10);
}
}
.headerContainer {
text-align: center;
}
Expand Down
2 changes: 1 addition & 1 deletion packages/editor-ui/src/components/SSOLogin.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const onSSOLogin = async () => {
position: relative;
display: inline-block;
padding: var(--spacing-xl) var(--spacing-l);
background: var(--color-foreground-xlight);
background: var(--color-background-xlight);
}
}
</style>
8 changes: 0 additions & 8 deletions packages/editor-ui/src/views/MfaView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -218,18 +218,10 @@ body {
justify-content: center;
}
.textContainer {
text-align: center;
}
.formContainer {
padding-bottom: var(--spacing-xl);
}
.qrContainer {
text-align: center;
}
.headerContainer {
text-align: center;
margin-bottom: var(--spacing-xl);
Expand Down

0 comments on commit 58fa04a

Please sign in to comment.