@yatoday/astro-ui 0.17.28 → 0.17.29

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.
@@ -122,9 +122,9 @@ const isHtmlImage = typeof image === 'string' && !Array.isArray(image);
122
122
  3/4: pb-[133%]
123
123
  9/16: pb-[177%]
124
124
  -->
125
- <div class={cn("relative w-full h-auto", aspectClass)}>
125
+ <div class={cn("relative w-full h-auto min-h-full", aspectClass)}>
126
126
  {image && (
127
- <Fragment>
127
+ <div class="absolute inset-0">
128
128
  {isHtmlImage ? (
129
129
  <Fragment set:html={image}/>
130
130
  ) : (
@@ -139,7 +139,7 @@ const isHtmlImage = typeof image === 'string' && !Array.isArray(image);
139
139
  hoverEffect={false}
140
140
  />
141
141
  )}
142
- </Fragment>
142
+ </div>
143
143
  )}
144
144
  </div>
145
145
  </div>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@yatoday/astro-ui",
3
3
  "type": "module",
4
- "version": "0.17.28",
4
+ "version": "0.17.29",
5
5
  "scripts": {
6
6
  "prepare": "husky",
7
7
  "pre-commit": "lint-staged",