Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/web/src/components/chat/HtmlRenderDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ export function HtmlRenderDialog(props: {
>
<XIcon />
</Button>
<div className="h-[min(86vh,calc(100vh-160px))] overflow-auto overscroll-contain rounded-lg bg-background p-4 shadow-2xl ring-1 ring-border/70 [container-type:size]">
<div className="h-[100cqh] w-[100cqw]" style={{ zoom }}>
<div className="h-[min(86vh,calc(100vh-160px))] overflow-hidden overscroll-contain rounded-lg bg-background p-4 shadow-2xl ring-1 ring-border/70 [container-type:size]">
<div style={{ zoom, width: `${100 / zoom}cqw`, height: `${100 / zoom}cqh` }}>
<HtmlRenderDocument
src={props.src}
title={props.title}
Expand Down
Loading