File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
client/modules/User/components Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import ReactGA from 'react-ga';
6
6
import { Transition } from 'react-transition-group' ;
7
7
import { Link } from 'react-router-dom' ;
8
8
import { Trans , useTranslation } from 'react-i18next' ;
9
- import { PropTypes } from 'prop-types' ;
9
+ import PropTypes from 'prop-types' ;
10
10
import getConfig from '../../../utils/getConfig' ;
11
11
import { setUserCookieConsent } from '../actions' ;
12
12
import { remSize , prop , device } from '../../../theme' ;
@@ -15,11 +15,12 @@ import Button from '../../../common/Button';
15
15
const CookieConsentContainer = styled . div `
16
16
position: fixed;
17
17
transition: 1.6s cubic-bezier(0.165, 0.84, 0.44, 1);
18
- bottom: ${ ( { state } ) => {
18
+ bottom: 0;
19
+ transform: ${ ( { state } ) => {
19
20
if ( state === 'entered' ) {
20
- return '0 ' ;
21
+ return 'translateY(0) ' ;
21
22
}
22
- return remSize ( - 300 ) ;
23
+ return 'translateY(105%)' ;
23
24
} } ;
24
25
left: 0;
25
26
right: 0;
You can’t perform that action at this time.
0 commit comments