File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 19
19
<h1 class =" md:col-span-2 text-5xl md:text-7xl py-6 md:py-12 self-center px-2 md:px-4" >
20
20
Text-to-CAD <span class =" text-green" >Generator</span >
21
21
</h1 >
22
- <div class =" z-10 relative border md:border-b-0 md:col-span-1 min-h-[25vh]" >
22
+ <div
23
+ class =" z-10 relative border md:border-b-0 md:col-span-1 min-h-[25vh] flex items-center justify-center"
24
+ >
23
25
<div
24
- class =" animate-reveal absolute inset-0 -top-1/4 opacity-80 md:opacity-100 md:-top -full"
26
+ class =" animate-reveal opacity-80 md:opacity-100 w-full h -full flex items-center justify-center "
25
27
style ={` --delay-steps: ${examples [0 ].prompt .length } ` }
26
28
>
27
- <Canvas >
28
- <ModelViewer dataUrl ={examples [0 ].model } pausable ={false } />
29
+ <Canvas class = " w-full h-full " >
30
+ <ModelViewer dataUrl ={examples [0 ].model } pausable ={false } class = " w-full h-full " />
29
31
</Canvas >
30
32
</div >
31
33
</div >
36
38
class =" typing-animation block text-chalkboard-70 dark:text-chalkboard-50"
37
39
style ={` --steps: ${examples [0 ].prompt .length } ` }
38
40
>
39
- <div class ="block w-fit" >{examples [0 ].prompt }</div >
41
+ <div class ="block w-fit" >{examples [0 ].prompt } </div >
40
42
</div >
41
43
</div >
42
44
<div class =" md:col-span-3 flex flex-col md:flex-row items-center border border-t-0" >
You can’t perform that action at this time.
0 commit comments