File tree 2 files changed +7
-2
lines changed
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " treeground " : patch
3
+ ---
4
+
5
+ ui(fix): set max height to error message
Original file line number Diff line number Diff line change @@ -212,15 +212,15 @@ function App() {
212
212
< Show when = { error ( ) } >
213
213
{ ( err ) => (
214
214
< div class = "fixed inset-0 bg-black/50 flex items-center justify-center z-50" >
215
- < div class = "bg-white rounded-lg min-w-[calc(100vw*0.75)] " >
215
+ < div class = "bg-white rounded-lg min-w-[calc(100vw*0.80)] max-w-[calc(100vw*0.90)] max-h-[calc(100vh*0.90)] flex flex-col " >
216
216
< div class = "flex justify-end p-2 border-b border-gray-300" >
217
217
< AiFillCloseCircle
218
218
size = { 28 }
219
219
class = "text-gray-500 hover:text-blue-500 active:scale-110 transition-all cursor-pointer"
220
220
onclick = { ( ) => setError ( null ) }
221
221
/>
222
222
</ div >
223
- < div class = "p-3" >
223
+ < div class = "p-3 flex-grow max-h-full flex flex-col overflow-hidden " >
224
224
< div class = "my-2 flex gap-1 align-top" >
225
225
< AiFillQuestionCircle size = { 22 } class = "text-red-500" />
226
226
< p class = "font-bold m-0" >
You can’t perform that action at this time.
0 commit comments