This repository was archived by the owner on Nov 8, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ const ComstomBg: FC = () => {
7575 } ,
7676 }
7777
78- const effect = effects . tg
78+ const effect = effects . tg6
7979
8080 // for linear/solid background colors
8181 if ( isString ( effect ) ) {
Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ const DesktopView: FC<TProps> = ({
2929 articleNavi,
3030 children,
3131} ) => {
32+ const visible2 = false
33+
3234 return (
3335 < Fragment >
3436 < DrawerOverlay
Original file line number Diff line number Diff line change @@ -23,12 +23,13 @@ export const DrawerOverlay = styled.div<TActive>`
2323 height: 100%;
2424 right: 0;
2525 top: 0;
26- z-index: ${ ( { visible } ) => ( visible ? css . zIndex . drawerOverlay : - 1 ) } ;
26+ z-index: ${ css . zIndex . drawerOverlay } ;
2727 visibility: ${ ( { visible } ) => ( visible ? 'visible' : 'hidden' ) } ;
2828 background: ${ ( { visible } ) => ( visible ? theme ( 'drawer.mask' ) : 'none' ) } ;
2929 opacity: ${ ( { visible } ) => ( visible ? 0.5 : 0 ) } ;
3030
31- transition: visibility 0.3s linear, opacity 0.2s linear;
31+ transition: visibility 0.25s linear, opacity 0.2s linear,
32+ background 0.5s linear;
3233`
3334// see https://stackoverflow.com/questions/60079950/when-do-i-use-attrs-vs-passing-props-directly-with-styled-components
3435
You can’t perform that action at this time.
0 commit comments