diff --git a/src/components/ImageCard.tsx b/src/components/ImageCard.tsx index 6a8e578..fcf575e 100644 --- a/src/components/ImageCard.tsx +++ b/src/components/ImageCard.tsx @@ -21,7 +21,6 @@ export function ImageCard({ key: itemKey, data: item }: ImageCard.ImageCardProps function updateLocalStorage(time?: number) { debounce(() => { - console.log(itemKey, "updated storage") localStorage.setItem("images", JSON.stringify(images.images.value)) }, time) } @@ -61,23 +60,20 @@ export function ImageCard({ key: itemKey, data: item }: ImageCard.ImageCardProps className="select-none transition flex flex-col justify-stretch shadow-lg rounded border border-[#3c3c3c] absolute" style={{ zIndex: `${focusedItem.value == itemKey ? LayerEnum.CARD_ELEVATED : LayerEnum.CARD}`, - width: `${item.dimensions.w}px`, - height: `${item.dimensions.h}px`, top: `${item.position.y}px`, left: `${item.position.x}px`, + maxWidth: '300px', backgroundColor: '#181818' }} > - {item.title}