@everymatrix/casino-games-category-section 0.0.316 → 0.0.319

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-games-category-section",
3
- "version": "0.0.316",
3
+ "version": "0.0.319",
4
4
  "main": "dist/casino-games-category-section.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": "f7fc15774d608e0711662d4e0df2b39e3c18e745"
39
+ "gitHead": "303df572e2a23ddc3a1c2f113be36d9db5606323"
40
40
  }
@@ -395,7 +395,7 @@
395
395
  categoryData = res;
396
396
  // @TODO categoryData type fix
397
397
  /**
398
- * This check is needed to prevent requests with less items
398
+ * This check is needed to prevent requests with less items
399
399
  * that started before but ended after the last request to add items to list
400
400
  * This could also use abort controller instead but refactoring is needed
401
401
  */
@@ -730,6 +730,8 @@
730
730
 
731
731
  $grid-gap: 16px;
732
732
  $grid-cell-size: 192px;
733
+ $grid-cell-size-small: 110px;
734
+ $grid-cell-size-medium: 122px;
733
735
 
734
736
  .CategoryName,
735
737
  .StatusText {
@@ -859,6 +861,44 @@
859
861
  gap: $grid-gap + 12;
860
862
  }
861
863
  }
864
+
865
+ @media screen and (max-width: 385px) {
866
+ .CasinoGamesGrid {
867
+ display: grid;
868
+ gap: $grid-gap;
869
+ grid-template-columns: repeat(auto-fill, minmax(Min($grid-cell-size-small, 46%), 1fr));
870
+ grid-template-rows: repeat(auto-fill, $grid-cell-size-small);
871
+ grid-auto-rows: $grid-cell-size-small;
872
+ grid-auto-columns: $grid-cell-size-small;
873
+
874
+ &.GamesListIncreasedGap {
875
+ gap: $grid-gap;
876
+ }
877
+ }
878
+ }
879
+
880
+ @media screen and (max-width: 480px) {
881
+ .CasinoGamesGrid {
882
+ display: grid;
883
+ gap: $grid-gap;
884
+ grid-template-columns: repeat(auto-fill, minmax(Min($grid-cell-size-medium, 46%), 1fr));
885
+ grid-template-rows: repeat(auto-fill, $grid-cell-size-medium);
886
+ grid-auto-rows: $grid-cell-size-medium;
887
+ grid-auto-columns: $grid-cell-size-medium;
888
+
889
+ &.GamesListIncreasedGap {
890
+ gap: $grid-gap;
891
+ }
892
+ }
893
+ }
894
+
895
+ @media screen and (min-width: 1100px) {
896
+ .CasinoGamesGrid {
897
+ grid-template-rows: repeat(auto-fill, 142px);
898
+ grid-auto-rows: 142px;
899
+ }
900
+ }
901
+
862
902
  .SearchLoading {
863
903
  display: block;
864
904
  padding: 50px;