We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00d7793 commit 4d22b18Copy full SHA for 4d22b18
1 file changed
src/renderer/src/components/pages/chat/ImagePreviewModal.tsx
@@ -154,9 +154,13 @@ export default function ImagePreviewModal({
154
src={currentImageUrl}
155
alt="导出预览"
156
style={{
157
+ width: `${IMAGE_WIDTH_CONFIG[imageWidth].width}px`,
158
maxWidth: '100%',
159
+ height: 'auto',
160
border: '1px solid #d9d9d9',
- opacity: isRegenerating ? 0.5 : 1
161
+ opacity: isRegenerating ? 0.5 : 1,
162
+ display: 'block',
163
+ margin: '0 auto'
164
}}
165
/>
166
)}
0 commit comments