Skip to content

Commit

Permalink
Fix the background color
Browse files Browse the repository at this point in the history
  • Loading branch information
okmttdhr committed Dec 12, 2023
1 parent a68558e commit fe737d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
}

.dialog__backdrop.live-preview-modal__overlay {
background-color: rgba(0, 0, 0, 0.7);
background-color: rgba(var(--color-neutral-70-rgb), 0.8);
// Dialog sets `z-index: z-index("root", ".dialog__backdrop")`,
// but this modal is used outside of Calypso, so we need to set it manually.
// We can refactor to use Modal from `@wordpress/components` instead of Dialog.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
}
}

.wpcom-live-preview-upgrade-modal__overlay {
.dialog__backdrop.wpcom-live-preview-upgrade-modal__overlay {
background-color: rgba(var(--color-neutral-70-rgb), 0.8);
// Dialog sets `z-index: z-index("root", ".dialog__backdrop")`,
// but this modal is used outside of Calypso, so we need to set it manually.
z-index: 100000;
Expand Down

0 comments on commit fe737d0

Please sign in to comment.