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';
66import { Transition } from 'react-transition-group' ;
77import { Link } from 'react-router-dom' ;
88import { Trans , useTranslation } from 'react-i18next' ;
9- import { PropTypes } from 'prop-types' ;
9+ import PropTypes from 'prop-types' ;
1010import getConfig from '../../../utils/getConfig' ;
1111import { setUserCookieConsent } from '../actions' ;
1212import { remSize , prop , device } from '../../../theme' ;
@@ -15,11 +15,12 @@ import Button from '../../../common/Button';
1515const CookieConsentContainer = styled . div `
1616 position: fixed;
1717 transition: 1.6s cubic-bezier(0.165, 0.84, 0.44, 1);
18- bottom: ${ ( { state } ) => {
18+ bottom: 0;
19+ transform: ${ ( { state } ) => {
1920 if ( state === 'entered' ) {
20- return '0 ' ;
21+ return 'translateY(0) ' ;
2122 }
22- return remSize ( - 300 ) ;
23+ return 'translateY(105%)' ;
2324 } } ;
2425 left: 0;
2526 right: 0;
You can’t perform that action at this time.
0 commit comments