Skip to content

Commit 60dfdfa

Browse files
committed
fix(web): keep image fit sizing consistent across font sizes
1 parent da3faa7 commit 60dfdfa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/web/src/components/chat/ExpandedImageDialog.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ export const ExpandedImageDialog = memo(function ExpandedImageDialog({
181181
bottomStickOnMobile={false}
182182
backdropClassName="z-[60]"
183183
viewportClassName="z-[60] grid-rows-1 place-items-center px-4 py-6 [-webkit-app-region:no-drag]"
184-
className="row-start-1 max-h-[92vh] w-[92vw] max-w-[92vw] items-center overflow-visible [--media-width:92vw] [--media-height:min(86vh,calc(100vh-160px))] sm:[--media-width:calc(92vw-6rem)]"
184+
className="row-start-1 max-h-[92vh] w-[92vw] max-w-[92vw] items-center overflow-visible [--media-width:92vw] [--media-height:min(86vh,calc(100vh-160px))] sm:[--media-width:calc(92vw-96px)]"
185185
onKeyDown={onKeyDown}
186186
initialFocus={closeButtonRef}
187187
finalFocus={() => returnFocusTarget}

0 commit comments

Comments
 (0)