@codesinger0/shared-components 1.1.86 → 1.1.88

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.
@@ -35,6 +35,8 @@ const MasonryImageList = ({ images = [], cols = 3, onImageClick = () => { } }) =
35
35
  /* default: mobile 2 columns */
36
36
  column-count: 2;
37
37
  padding-right: 0.25rem; /* small padding so rtl scroll doesn't cut content */
38
+ width: 100%;
39
+ overflow-x: hidden; /* prevent horizontal scrolling */
38
40
  }
39
41
 
40
42
  /* Desktop: use the --masonry-cols variable */
@@ -150,7 +152,7 @@ const MasonryItemCard = ({
150
152
  >
151
153
  <h2 className="title mb-6">{title}</h2>
152
154
  <h3 className="subtitle mb-6">{subtitle}</h3>
153
- <p className="content-text max-w-md mx-auto lg:mx-0">{description}</p>
155
+ <p className="content-text max-w-md mx-auto lg:mx-0" style={{ whiteSpace: 'pre-line' }}>{description}</p>
154
156
  </div>
155
157
 
156
158
  {/* Desktop Masonry Images (visible on lg+) */}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codesinger0/shared-components",
3
- "version": "1.1.86",
3
+ "version": "1.1.88",
4
4
  "description": "Shared React components for customer projects",
5
5
  "main": "dist/index.js",
6
6
  "files": [