@everymatrix/casino-footer-v2 1.1.4 → 1.1.6

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-footer-v2",
3
- "version": "1.1.4",
3
+ "version": "1.1.6",
4
4
  "main": "dist/casino-footer-v2.js",
5
5
  "svelte": "src/index.ts",
6
6
  "scripts": {
@@ -36,5 +36,5 @@
36
36
  "publishConfig": {
37
37
  "access": "public"
38
38
  },
39
- "gitHead": "21fcfe11094ed10591d02510ee6a7fc2cd435de4"
39
+ "gitHead": "6ad785980b67f3b54da658b8df9f60190a10ffcc"
40
40
  }
@@ -150,7 +150,7 @@
150
150
 
151
151
  const getCmsData = ():void => {
152
152
  let url:URL = new URL(`${endpoint}/${lang}/footer-raw-data`);
153
-
153
+
154
154
  url.searchParams.append('env', env);
155
155
 
156
156
  let device = getDevice(userAgent)
@@ -328,7 +328,7 @@
328
328
 
329
329
  const setActiveLanguage = ():void => {
330
330
  setLocale(lang);
331
- panicButtonCustomText = $_('casinoFooter.panicButton');
331
+ panicButtonCustomText = $_('casinoFooter.panicButton');
332
332
  }
333
333
 
334
334
  onMount(() => {
@@ -366,7 +366,7 @@
366
366
  {:else}
367
367
 
368
368
  <div class="Footer" bind:this={customStylingContainer}>
369
- <div class="FooterSide {isOnMobile && isLoggedIn ? 'FooterSideMobile' : ''}">
369
+ <div class="FooterSide {isOnMobile && isLoggedIn && panicbuttonenabled === "true" ? 'FooterSideMobile' : ''}">
370
370
  <!-- start helper section -->
371
371
  {#if helpLinksRepeater}
372
372
  {#each helpLinksRepeater as category}
@@ -561,6 +561,7 @@
561
561
  }
562
562
 
563
563
  .Footer {
564
+ position: relative;
564
565
  background-color: $color-white;
565
566
  display: flex;
566
567
  padding: 21px 12px;
@@ -568,7 +569,7 @@
568
569
  }
569
570
 
570
571
  .FooterSideMobile {
571
- margin-top: 66px;
572
+ margin-top: 44px;
572
573
  }
573
574
 
574
575
  .FooterSide {
@@ -590,7 +591,6 @@
590
591
  font-weight: 400;
591
592
  height: 100%;
592
593
  display: flex;
593
- padding: 100px 0;
594
594
  max-width: 1200px;
595
595
  margin: auto;
596
596
  background-color: $color-white;