File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ import { ButtonGroup } from '@/components/ui/button-group'
1616import {
1717 Dialog ,
1818 DialogContent ,
19+ DialogFooter ,
1920 DialogHeader ,
2021 DialogTitle ,
2122} from '@/components/ui/dialog'
@@ -135,13 +136,18 @@ const Page: React.FC = () => {
135136 }
136137 } }
137138 >
138- < DialogContent >
139+ < DialogContent className = "flex flex-col max-h-[90%]" >
139140 < DialogHeader >
140141 < DialogTitle > { t ( 'scripting.result' ) } </ DialogTitle >
141142 </ DialogHeader >
142- < div className = "w-full overflow-hidden" >
143+ < div className = "w-full overflow-x- hidden overflow-y-scroll " >
143144 < CodeContent content = { evaluateResult } />
144145 </ div >
146+ < DialogFooter >
147+ < Button onClick = { ( ) => setEvaluateResult ( undefined ) } >
148+ { t ( 'common.close' ) }
149+ </ Button >
150+ </ DialogFooter >
145151 </ DialogContent >
146152 </ Dialog >
147153 </ FixedFullscreenContainer >
You can’t perform that action at this time.
0 commit comments