Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

overlay added when user select custom bg-image for app #170

Merged
merged 12 commits into from
Sep 17, 2022
8 changes: 8 additions & 0 deletions src/helpers/hooks/useDesignCustomization.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,14 @@ const useDesignCustomization = () => {
background-repeat: no-repeat !important;
background-size: cover !important;
}`;
css += `.main-app-bg::before, .waiting-room::before, .error-app-bg::before {
position: absolute;
content: "";
width: 100%;
height: 100%;
background-color: #001222;
opacity: 0.7;
}`;
} else if (designCustomParams.background_color) {
css += `.main-app-bg {
background: ${designCustomParams.background_color} !important;
Expand Down