mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-09 04:51:33 +08:00
fix: sd image preview modal size
This commit is contained in:
@@ -167,6 +167,12 @@ export function Sd() {
|
||||
showImageModal(
|
||||
getBase64ImgUrl(item.img_data, "image/png"),
|
||||
true,
|
||||
isMobileScreen
|
||||
? { width: "100%", height: "fit-content" }
|
||||
: { maxWidth: "100%", maxHeight: "100%" },
|
||||
isMobileScreen
|
||||
? { width: "100%", height: "fit-content" }
|
||||
: { width: "100%", height: "100%" },
|
||||
);
|
||||
}}
|
||||
/>
|
||||
|
Reference in New Issue
Block a user