File tree 1 file changed +8
-2
lines changed 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'
16
16
import {
17
17
Dialog ,
18
18
DialogContent ,
19
+ DialogFooter ,
19
20
DialogHeader ,
20
21
DialogTitle ,
21
22
} from '@/components/ui/dialog'
@@ -135,13 +136,18 @@ const Page: React.FC = () => {
135
136
}
136
137
} }
137
138
>
138
- < DialogContent >
139
+ < DialogContent className = "flex flex-col max-h-[90%]" >
139
140
< DialogHeader >
140
141
< DialogTitle > { t ( 'scripting.result' ) } </ DialogTitle >
141
142
</ DialogHeader >
142
- < div className = "w-full overflow-hidden" >
143
+ < div className = "w-full overflow-x- hidden overflow-y-scroll " >
143
144
< CodeContent content = { evaluateResult } />
144
145
</ div >
146
+ < DialogFooter >
147
+ < Button onClick = { ( ) => setEvaluateResult ( undefined ) } >
148
+ { t ( 'common.close' ) }
149
+ </ Button >
150
+ </ DialogFooter >
145
151
</ DialogContent >
146
152
</ Dialog >
147
153
</ FixedFullscreenContainer >
You can’t perform that action at this time.
0 commit comments