File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11.flexColumn {
2- flex-direction : column ;
2+ @media (max-width : 480px ) {
3+ flex-direction : row ;
4+ }
5+ @media (min-width : 481px ) {
6+ flex-direction : column ;
7+ }
38}
49
10+
511div .intro {
612 align-items : center ;
713 padding : 0 4em ;
814 max-height : 100% ;
915
1016 .top {
11- max-height : 425px ;
1217 margin-bottom : 75px ;
1318 overflow : auto ;
1419
20+ @media (max-width : 480px ) {
21+ max-height : calc (100vh - 75px );
22+ }
23+ @media (min-width : 481px ) {
24+ max-height : 425px ;
25+ }
26+
1527 .logo {
1628 display : block ;
1729 margin : 20px auto 10px auto ;
@@ -27,6 +39,7 @@ div.intro {
2739 .description {
2840 margin : 2em 0 ;
2941 overflow : auto ;
42+ max-height : 150px ;
3043 text-align : center ;
3144 }
3245 .options {
Original file line number Diff line number Diff line change @@ -66,6 +66,21 @@ export function init(configUpdates) {
6666 cmp . gdprAppliesLanguage = response . language ;
6767 cmp . gdprAppliesLocation = response . location ;
6868 } ) . then ( ( response ) => {
69+ function addLocatorFrame ( ) {
70+ if ( ! window . frames [ '__cmpLocator' ] ) {
71+ if ( document . body ) {
72+ var frame = document . createElement ( 'iframe' ) ;
73+ frame . style . display = 'none' ;
74+ frame . name = '__cmpLocator' ;
75+ document . body . appendChild ( frame ) ;
76+ }
77+ else {
78+ setTimeout ( addLocatorFrame , 5 ) ;
79+ }
80+ }
81+ }
82+
83+ addLocatorFrame ( ) ;
6984 store . updateIsEU ( response . applies ) ;
7085
7186 // Render the UI
You can’t perform that action at this time.
0 commit comments