Skip to content

Commit

Permalink
improvement: fix dialog size
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanglun committed Dec 24, 2023
1 parent 4dfc005 commit 5c18440
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/ArticleView/DialogView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ export const ArticleDialogView = (
<Dialog open={ dialogStatus } onOpenChange={ handleDialogChange }>
{ trigger && <DialogTrigger>{ trigger }</DialogTrigger> }
<DialogContent className="p-0 min-w-[960px] is-scroll">
<ScrollBox className="max-h-[94vh]" ref={scrollBoxRef}>
<ScrollBox className="h-[94vh]" ref={scrollBoxRef}>
<>
<div className="sticky left-0 right-0 top-0 z-[3]">
<div
className="flex items-center justify-end px-20 py-2 space-x-0.5 rounded-tl-lg rounded-tr-lg bg-background border-b">
<ToolbarItemNavigator/>
<ToolbarItemNavigator />
<span>
<Separator orientation="vertical" className="h-4 mx-2"/>
</span>
Expand Down

0 comments on commit 5c18440

Please sign in to comment.