Fix CMS modal bg (#935)

This commit is contained in:
Lukasz Ostrowski 2023-08-28 21:51:15 +02:00 committed by GitHub
parent fcc37e7c7e
commit d9d0f64a01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View file

@ -0,0 +1,5 @@
---
"saleor-app-cms-v2": patch
---
Fixed background color of the modal. Previously white background was missing and only blur was applied. Now it is blurred and white with an opacity (in the dark mode it is fixed with dark grey)

View file

@ -9,7 +9,7 @@ dialog {
.dialog-overlay { .dialog-overlay {
z-index: 1; z-index: 1;
background: rgba(var(--mu-colors-background-plain), 0.8); background: color-mix(in srgb, var(--mu-colors-background-plain) 80%, transparent);
backdrop-filter: blur(5px); backdrop-filter: blur(5px);
content: ""; content: "";
position: fixed; position: fixed;