File tree Expand file tree Collapse file tree 3 files changed +2
-20
lines changed Expand file tree Collapse file tree 3 files changed +2
-20
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import { isFlagshipApp } from 'cozy-device-helper'
33import homeConfig from '@/config/home.json'
44import { useOpenApp } from '@/hooks/useOpenApp'
55import { RemoveScroll } from 'react-remove-scroll'
6- import { useWallpaperContext } from '@/hooks/useWallpaperContext'
76import cx from 'classnames'
87
98import App from '@/containers/App'
@@ -18,9 +17,6 @@ const RemoveScrollOnFlaghsip = ({ children }) => {
1817
1918const AnimatedWrapper = ( ) => {
2019 const { getAppState } = useOpenApp ( )
21- const {
22- data : { isCustomWallpaper }
23- } = useWallpaperContext ( )
2420
2521 const mainStyle = isFlagshipApp ( )
2622 ? {
@@ -34,8 +30,7 @@ const AnimatedWrapper = () => {
3430 < div
3531 className = { cx (
3632 `App u-flex u-flex-column u-w-100 u-miw-100 u-flex-items-center` ,
37- { [ getAppState ] : ! ! getAppState } ,
38- { 'custom-wallpaper' : isCustomWallpaper }
33+ { [ getAppState ] : ! ! getAppState }
3934 ) }
4035 style = { mainStyle }
4136 >
Original file line number Diff line number Diff line change @@ -104,8 +104,7 @@ const App = () => {
104104 }
105105
106106 return (
107- // u-bg-white avoids mix-blend-mode from home-custom-background to be linked to the background color of the body. Must not be responsive to the theme.
108- < Layout monoColumn className = "u-bg-white" >
107+ < Layout monoColumn >
109108 < BarComponent
110109 searchOptions = { { enabled : false } }
111110 componentsProps = { {
Original file line number Diff line number Diff line change 2626.App
2727 overflow-y overlay
2828
29- & .custom-wallpaper
30- // black filter effect above the custom wallpaper image
31- & ::before
32- content ''
33- position fixed
34- top 0
35- left 0
36- width 100%
37- height 100%
38- background-color rgba (0 , 0 , 0 , .32 )
39- backdrop-filter saturate (124% )
40-
4129 .corner
4230 z-index var (-- zIndex-nav )
4331 margin rem (12 ) 2rem rem (- 44 ) 0
You can’t perform that action at this time.
0 commit comments