@pisell/private-materials 6.12.119 → 6.12.120

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.
@@ -22,7 +22,9 @@
22
22
 
23
23
  .pisell-cardPro-content {
24
24
  overflow-y: hidden;
25
- margin-top: 0;
25
+ // CardPro 的基础样式在 low-code 产物中带有 #body 前缀,
26
+ // 这里需要显式覆盖其 20px 顶部间距,否则 100% 高度内容会被卡片裁切。
27
+ margin-top: 0 !important;
26
28
  width: 100%;
27
29
  height: 100%;
28
30
  }
@@ -757,6 +757,8 @@
757
757
 
758
758
  .pisell-procedure--modal .pisell-procedure-sidebar {
759
759
  width: 100% !important;
760
+ min-width: 0 !important;
761
+ max-width: 100% !important;
760
762
  height: unset !important;
761
763
  }
762
764
 
@@ -890,6 +892,16 @@
890
892
  }
891
893
  }
892
894
 
895
+ // PisellProcedure 的小屏 Modal 规则在 low-code 产物中带有 #body 前缀,
896
+ // 会把竖排 Drawer 的 sidebar 重新限制为 290px;使用同一作用域覆盖固定宽度。
897
+ #body .pisell-sku-detail-drawer {
898
+ .pisell-procedure--modal .pisell-procedure-sidebar {
899
+ width: 100% !important;
900
+ min-width: 0 !important;
901
+ max-width: 100% !important;
902
+ }
903
+ }
904
+
893
905
  // 价格调整覆盖层样式 - 现在通过 Portal 渲染到 document.body
894
906
  .pisell-price-adjust-overlay {
895
907
  position: fixed;
@@ -22,7 +22,9 @@
22
22
 
23
23
  .pisell-cardPro-content {
24
24
  overflow-y: hidden;
25
- margin-top: 0;
25
+ // CardPro 的基础样式在 low-code 产物中带有 #body 前缀,
26
+ // 这里需要显式覆盖其 20px 顶部间距,否则 100% 高度内容会被卡片裁切。
27
+ margin-top: 0 !important;
26
28
  width: 100%;
27
29
  height: 100%;
28
30
  }
@@ -757,6 +757,8 @@
757
757
 
758
758
  .pisell-procedure--modal .pisell-procedure-sidebar {
759
759
  width: 100% !important;
760
+ min-width: 0 !important;
761
+ max-width: 100% !important;
760
762
  height: unset !important;
761
763
  }
762
764
 
@@ -890,6 +892,16 @@
890
892
  }
891
893
  }
892
894
 
895
+ // PisellProcedure 的小屏 Modal 规则在 low-code 产物中带有 #body 前缀,
896
+ // 会把竖排 Drawer 的 sidebar 重新限制为 290px;使用同一作用域覆盖固定宽度。
897
+ #body .pisell-sku-detail-drawer {
898
+ .pisell-procedure--modal .pisell-procedure-sidebar {
899
+ width: 100% !important;
900
+ min-width: 0 !important;
901
+ max-width: 100% !important;
902
+ }
903
+ }
904
+
893
905
  // 价格调整覆盖层样式 - 现在通过 Portal 渲染到 document.body
894
906
  .pisell-price-adjust-overlay {
895
907
  position: fixed;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/private-materials",
3
- "version": "6.12.119",
3
+ "version": "6.12.120",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -70,9 +70,9 @@
70
70
  "styled-components": "^6.0.0-rc.3",
71
71
  "use-sync-external-store": "^1.6.0",
72
72
  "@pisell/utils": "3.0.4",
73
- "@pisell/icon": "0.0.11",
74
73
  "@pisell/date-picker": "3.0.10",
75
- "@pisell/materials": "6.12.28"
74
+ "@pisell/materials": "6.12.29",
75
+ "@pisell/icon": "0.0.11"
76
76
  },
77
77
  "peerDependencies": {
78
78
  "react": "^18.0.0",