File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -15,24 +15,24 @@ import { Button } from "@/components/ui/button";
15
15
export function HintCard ( { hints } : { hints : string [ ] } ) {
16
16
return (
17
17
< AlertDialog >
18
- < AlertDialogTrigger asChild className = "w-36rem rounded-none" >
18
+ < AlertDialogTrigger asChild className = "w-48rem rounded-none" >
19
19
< Button className = "text-black hover:bg-purple-700 bg-white hover:text-white" variant = "outline" > Hints</ Button >
20
20
</ AlertDialogTrigger >
21
- < AlertDialogContent className = "max-w-36rem backdrop-blur bg-opacity-100 border border-gray-100 text-white" >
21
+ < AlertDialogContent className = "max-h-[50%] max-w-[600px] w-full backdrop-blur bg-opacity-100 border border-gray-100 text-white" >
22
22
< AlertDialogHeader >
23
23
< AlertDialogTitle className = "w-16 px-2 bg-purple-500" > Hints</ AlertDialogTitle >
24
24
</ AlertDialogHeader >
25
- < AlertDialogDescription className = "rounded-none " >
25
+ < AlertDialogDescription className = "p-4 dark:text-white text-black " >
26
26
< div >
27
27
< ul className = "list-outside list-disc" >
28
28
{ hints . slice ( 0 , 3 ) . map ( ( hint , index ) => (
29
- < li key = { index } className = "mb-2 text-white text-wrap text-sm" > { String ( hint ) } </ li >
29
+ < li key = { index } className = "mb-2 dark: text-white text-black text-wrap text-sm" > { String ( hint ) } </ li >
30
30
) ) }
31
31
</ ul >
32
32
</ div >
33
33
</ AlertDialogDescription >
34
- < AlertDialogFooter className = "rounded-none" >
35
- < AlertDialogCancel className = "rounded-none" > Close</ AlertDialogCancel >
34
+ < AlertDialogFooter className = "rounded-none dark:text-white text-black " >
35
+ < AlertDialogCancel > Close</ AlertDialogCancel >
36
36
</ AlertDialogFooter >
37
37
</ AlertDialogContent >
38
38
</ AlertDialog >
You can’t perform that action at this time.
0 commit comments