@codesinger0/shared-components 1.0.31 → 1.0.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.
@@ -119,7 +119,6 @@ const LargeItemCard = ({
119
119
  zIndex: 10,
120
120
  width: '30vw',
121
121
  maxWidth: '40vw',
122
- maxHeight: '450px',
123
122
  top: '2rem',
124
123
  left: reverse ? '4rem' : 'auto',
125
124
  right: reverse ? 'auto' : '4rem',
@@ -138,8 +137,14 @@ const LargeItemCard = ({
138
137
  <img
139
138
  src={imageUrl}
140
139
  alt={title}
141
- className="w-auto h-auto rounded-lg shadow-2xl border border-primary"
142
- style={{ maxHeight: '450px' }}
140
+ className="rounded-lg shadow-2xl border border-primary"
141
+ style={{
142
+ maxHeight: '450px',
143
+ maxWidth: '100%',
144
+ width: 'auto',
145
+ height: 'auto',
146
+ objectFit: 'contain'
147
+ }}
143
148
  />
144
149
  </motion.div>
145
150
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codesinger0/shared-components",
3
- "version": "1.0.31",
3
+ "version": "1.0.33",
4
4
  "description": "Shared React components for customer projects",
5
5
  "main": "dist/index.js",
6
6
  "files": [