@coffic/cosy-ui 0.9.75 → 0.9.76

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.
@@ -94,6 +94,7 @@ export function getBaseContainerClasses(props: IContainerPropsBase): string[] {
94
94
  ...borderClasses,
95
95
  ...flexClassesArray,
96
96
  heightClass,
97
+ "cosy:relative", // 为Container创建独立的定位上下文,确保背景图片正确显示
97
98
  className,
98
99
  ];
99
100
 
@@ -26,7 +26,7 @@
26
26
  content: "";
27
27
  position: absolute;
28
28
  inset: 0;
29
- z-index: 0;
29
+ z-index: -50; /* 设置为-50,使其低于Container背景图片的z-index(-10) */
30
30
  pointer-events: none;
31
31
  background-image: radial-gradient(
32
32
  rgba(var(--cosy-dot-rgb), var(--cosy-dot-grid-alpha))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coffic/cosy-ui",
3
- "version": "0.9.75",
3
+ "version": "0.9.76",
4
4
  "description": "An astro component library",
5
5
  "author": {
6
6
  "name": "nookery",