@social-mail/social-mail-client 1.2.344 → 1.2.345

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.
@@ -19292,46 +19292,91 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
19292
19292
  flex: 1 1 100%;
19293
19293
  }
19294
19294
 
19295
- & > .photos {
19295
+ & > .product {
19296
19296
 
19297
- margin: 10px;
19298
- padding: 10px;
19299
- border-radius: 5px;
19300
- box-shadow: 0 0 10px 2px gray;
19301
-
19302
- display: inline-grid;
19303
- grid-template-columns: auto 1fr;
19304
- grid-template-rows: 1fr;
19305
- overflow: hidden;
19297
+ width: 100%;
19298
+ display: grid;
19299
+ grid-template-columns: 4fr 1fr;
19300
+ grid-template-rows: auto;
19306
19301
 
19307
- min-width: 60%;
19302
+ & > .photos {
19308
19303
 
19309
- & > .thumbnails {
19310
19304
  grid-row: 1;
19311
19305
  grid-column: 1;
19312
- display: flex;
19313
- flex-direction: column;
19314
- overflow: auto;
19315
- max-height: 500px;
19316
- & > img {
19317
- cursor: pointer;
19318
- margin: 5px;
19319
- border-radius: 10px;
19320
- &:hover {
19321
- box-shadow: 0 0 5px 1px #0000ff7f;
19306
+
19307
+ margin: 10px;
19308
+ padding: 10px;
19309
+ border-radius: 5px;
19310
+ box-shadow: 0 0 10px 2px gray;
19311
+
19312
+ display: inline-grid;
19313
+ grid-template-columns: auto 1fr;
19314
+ grid-template-rows: 1fr;
19315
+ overflow: hidden;
19316
+
19317
+ & > .thumbnails {
19318
+ grid-row: 1;
19319
+ grid-column: 1;
19320
+ display: flex;
19321
+ flex-direction: column;
19322
+ overflow: auto;
19323
+ max-height: 500px;
19324
+ & > img {
19325
+ cursor: pointer;
19326
+ margin: 5px;
19327
+ border-radius: 10px;
19328
+ &:hover {
19329
+ box-shadow: 0 0 5px 1px #0000ff7f;
19330
+ }
19331
+ }
19332
+ }
19333
+ & > .preview {
19334
+ grid-row: 1;
19335
+ grid-column: 2;
19336
+ height: 100%;
19337
+ min-width: 50%;
19338
+ & img {
19339
+ -webkit-user-drag: none;
19322
19340
  }
19323
19341
  }
19342
+
19324
19343
  }
19325
- & > .preview {
19344
+
19345
+ & > .offers {
19326
19346
  grid-row: 1;
19327
19347
  grid-column: 2;
19328
- height: 60%;
19329
- min-width: 50%;
19330
- & img {
19331
- -webkit-user-drag: none;
19332
- }
19333
19348
  }
19349
+ }
19334
19350
 
19351
+ @media (max-width: 800px) {
19352
+
19353
+ & > .product {
19354
+ display: flex;
19355
+ flex-direction: column;
19356
+ justify-content: stretch;
19357
+ justify-items: stretch;
19358
+ & > .photos {
19359
+ display: grid;
19360
+ grid-template-columns: 1fr;
19361
+ grid-template-rows: 1fr auto;
19362
+ & > .thumbnails {
19363
+ grid-row: 2;
19364
+ grid-column: 1;
19365
+ height: 25vh;
19366
+ display: flex;
19367
+ flex-direction: row;
19368
+ align-items: center;
19369
+ justify-content: start;
19370
+ justify-items: start;
19371
+ overflow: auto;
19372
+ }
19373
+ & > .preview {
19374
+ grid-row: 1;
19375
+ grid-column: 1;
19376
+ height: 50vh;
19377
+ }
19378
+ }
19379
+ }
19335
19380
  }
19336
19381
 
19337
19382
  & img {
@@ -19375,6 +19420,8 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
19375
19420
  class: css,
19376
19421
  images: Bind.oneWay(() => this.getFiles(this.model, this.selectedVarient, this.selectedSize))
19377
19422
  }, XNode.create("h2", null, this.model.name), XNode.create("section", {
19423
+ class: "product"
19424
+ }, XNode.create("section", {
19378
19425
  class: "photos"
19379
19426
  }, XNode.create(AtomRepeater, {
19380
19427
  selectOnClick: true,
@@ -19391,6 +19438,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
19391
19438
  class: "preview",
19392
19439
  source: Bind.oneWay(() => signedImageUrl(this.selectedFile, 720))
19393
19440
  })), XNode.create("section", {
19441
+ class: "offers",
19394
19442
  "data-layout": "vertical-flex"
19395
19443
  }, offerHtml && XNode.create("section", {
19396
19444
  innerHTML: offerHtml
@@ -19412,7 +19460,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
19412
19460
  }, XNode.create("label", {
19413
19461
  text: x.name
19414
19462
  }))
19415
- })), XNode.create("section", {
19463
+ }))), XNode.create("section", {
19416
19464
  "data-flex": "stretch-full"
19417
19465
  }, XNode.create("section", {
19418
19466
  innerHTML: specHtml