Skip to content

Commit 1a34059

Browse files
committed
refactor: update image class for better positioning and responsiveness
1 parent cae2068 commit 1a34059

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/vps-web/src/app/custom-nodes/classes/prompt-image-class.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ w-min h-min
7878
}`}
7979
>
8080
<img
81-
class="w-full h-full cover"
81+
class="w-full h-full object-cover absolute top-0 left-0 right-0 bottom-0"
8282
getElement={(element: HTMLImageElement) => {
8383
this.imageElement = element;
8484
}}

0 commit comments

Comments
 (0)