@sc-360-v2/storefront-cms-library 0.4.31 → 0.4.33

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.
@@ -1,5 +1,11 @@
1
1
  @use "sass:map";
2
2
  @use "sass:list";
3
+ @import "./functions.scss";
4
+ $defaultValues: (
5
+ --_flex-box: getListOfResponsive(flex, block),
6
+ --_width: getListOfResponsive(calc(100% - 400px), 100%),
7
+ --_width-400: getListOfResponsive(400px, 100%),
8
+ );
3
9
 
4
10
  [data-div-type="element"] {
5
11
  &[data-element-type="myTemplates"] {
@@ -65,18 +71,21 @@
65
71
  font-size: 24px;
66
72
  }
67
73
  .back_to_cart {
68
- color: var(--_primary-400);
74
+ color: var(--_thm-cs-tt-ls-as);
69
75
  &:hover {
70
76
  text-decoration: underline;
71
77
  }
72
78
  }
73
79
  }
74
80
  .template_body {
75
- display: flex;
81
+ @include prepareMediaQueries($defaultValues);
82
+ display: var(--_flex-box, flex);
83
+ // display: flex;
76
84
  gap: 60px;
77
85
  justify-content: space-between;
78
86
  .template_col_left {
79
- width: calc(100% - 400px);
87
+ // width: calc(100% - 400px);
88
+ width: var(--_width, 100%);
80
89
  height: 400px;
81
90
  background-color: var(--_base-white);
82
91
  .wishlist-modal {
@@ -243,7 +252,8 @@
243
252
  }
244
253
  }
245
254
  .template_col_right {
246
- width: 400px;
255
+ // width: 400px;
256
+ width: var(--_width-400, 100%);
247
257
  height: fit-content;
248
258
  background-color: var(--_base-white);
249
259
  overflow: hidden;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sc-360-v2/storefront-cms-library",
3
- "version": "0.4.31",
3
+ "version": "0.4.33",
4
4
  "main": "/dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {