astro-tractstack 2.0.0-rc.39 → 2.0.0-rc.40

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "astro-tractstack",
3
- "version": "2.0.0-rc.39",
3
+ "version": "2.0.0-rc.40",
4
4
  "description": "Astro integration for TractStack - redeeming the web from boring experiences",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -105,7 +105,7 @@ export default function SearchResults({
105
105
  if (!aHasRealImage && bHasRealImage) return 1;
106
106
  return 0;
107
107
  });
108
- }, [results, contentMap]);
108
+ }, [results]);
109
109
 
110
110
  const totalPages = Math.ceil(allResultItems.length / ITEMS_PER_PAGE);
111
111
  const startIndex = (currentPage - 1) * ITEMS_PER_PAGE;
@@ -170,13 +170,13 @@ export default function SearchResults({
170
170
  <a href={item.url} onClick={onResultClick} className="group block">
171
171
  <div className="flex items-start gap-4">
172
172
  <div
173
- className="flex-shrink-0 overflow-hidden rounded-lg bg-gray-100"
173
+ className="bg-mydarkgrey flex-shrink-0 overflow-hidden rounded-lg"
174
174
  style={{ width: '120px', height: '67.5px' }}
175
175
  >
176
176
  <img
177
177
  src={item.imageSrc}
178
178
  alt={item.title}
179
- className="h-full w-full object-cover"
179
+ className="h-full w-full object-contain"
180
180
  style={{ width: '100%', height: '100%' }}
181
181
  />
182
182
  </div>