@@ -104,7 +104,7 @@ export default function ExplainerSection() {
104
104
< div className = "relative max-w-full" >
105
105
< div
106
106
aria-hidden = "true"
107
- className = "hidden h-4 items-end whitespace-pre px-2 font-mono text-xs/6 text-black/20 max-sm:px-4 2xl:visible 2xl:flex dark:text-white/25"
107
+ className = "hidden h-4 items-end px-2 font-mono text-xs/6 whitespace-pre text-black/20 max-sm:px-4 2xl:visible 2xl:flex dark:text-white/25"
108
108
>
109
109
text-4xl < span className = "inline dark:hidden" > text-gray-950</ span >
110
110
< span className = "hidden dark:inline" > text-white</ span > tracking-tighter text-balance
@@ -120,7 +120,7 @@ export default function ExplainerSection() {
120
120
</ h2 >
121
121
</ GridContainer >
122
122
123
- < div className = "flex h-6 items-end whitespace-pre px-2 font-mono text-xs/6 text-black/20 max-sm:px-4 sm:h-10 dark:text-white/25" >
123
+ < div className = "flex h-6 items-end px-2 font-mono text-xs/6 whitespace-pre text-black/20 max-sm:px-4 sm:h-10 dark:text-white/25" >
124
124
text-base < span className = "inline dark:hidden" > text-gray-950</ span >
125
125
< span className = "hidden dark:inline" > text-white</ span >
126
126
</ div >
@@ -136,10 +136,10 @@ export default function ExplainerSection() {
136
136
< GridContainer className = "mt-16" >
137
137
< div className = "w-full bg-gray-950/5 p-2 dark:bg-white/10" >
138
138
< div className = "not-prose" >
139
- < div className = "@container in-[figure]:-mx-1 in-[figure]:-mb-1 rounded-xl bg-gray-950 " >
139
+ < div className = "@container rounded-xl bg-gray-950 in-[figure]:-mx-1 in-[figure]:-mb-1" >
140
140
< div
141
141
className = { clsx (
142
- "scheme-dark dark:inset-ring dark:inset-ring-white/10 rounded-xl p-1 text-sm dark:bg-white/5" ,
142
+ "rounded-xl p-1 text-sm scheme- dark dark :bg-white/5 dark:inset-ring dark:inset-ring-white/10 " ,
143
143
) }
144
144
>
145
145
< EditorAnimation timeline = { timeline } >
@@ -149,16 +149,16 @@ export default function ExplainerSection() {
149
149
className = { clsx (
150
150
"inline-flex size-1.5 items-center justify-center rounded-full bg-white/20" ,
151
151
"transition-opacity duration-300 ease-in" ,
152
- "group-data-modified:opacity-100 group-data-modified:duration-100 group-data-modified:ease-linear opacity-0 " ,
152
+ "opacity-0 group-data-modified:opacity-100 group-data-modified:duration-100 group-data-modified:ease-linear" ,
153
153
) }
154
154
> </ span >
155
155
</ span >
156
156
< span className = "size-3 rounded-full bg-white/20" > </ span >
157
157
< span className = "size-3 rounded-full bg-white/20" > </ span >
158
158
</ div >
159
- < div className = "lg:h-132.5 flex w-full flex-col gap-1 lg:flex-row" >
160
- < div className = "xl:w-5/8 flex flex-col gap-1 lg:w-1/2" >
161
- < Panel className = "max-lg:max-h-76 min-h-0 flex-1" aria-label = "panel, HTML editor, animated" >
159
+ < div className = "flex w-full flex-col gap-1 lg:h-132.5 lg:flex-row" >
160
+ < div className = "flex flex-col gap-1 lg:w-1/2 xl:w-5/8 " >
161
+ < Panel className = "min-h-0 flex-1 max-lg:max-h-76 " aria-label = "panel, HTML editor, animated" >
162
162
< Tabs >
163
163
< Tab selected className = "group-data-modified:italic" >
164
164
index.html
@@ -168,14 +168,14 @@ export default function ExplainerSection() {
168
168
</ Tabs >
169
169
< HtmlFile className = "with-line-numbers" />
170
170
</ Panel >
171
- < Panel className = "lg:h-46 h- 32 shrink-0" aria-label = "panel, terminal, animated" >
171
+ < Panel className = "h- 32 shrink-0 lg:h-46 " aria-label = "panel, terminal, animated" >
172
172
< Tabs >
173
173
< Tab selected > Terminal</ Tab >
174
174
</ Tabs >
175
175
< Terminal />
176
176
</ Panel >
177
177
</ div >
178
- < div className = "h-66 xl:w-3/8 flex flex -col gap-2.5 lg:h-auto lg:w-1/2" >
178
+ < div className = "flex h-66 flex-col gap-2.5 lg:h-auto lg:w-1/2 xl:w-3/8 " >
179
179
< Panel className = "h-full" aria-label = "panel, built CSS, animated" >
180
180
< Tabs >
181
181
< Tab selected > build.css</ Tab >
@@ -227,7 +227,7 @@ function HtmlFile({ className }: { className?: string }) {
227
227
< span { ...props } >
228
228
{ '"' }
229
229
< TypingAnimation />
230
- < span className = "group-data-finished:opacity-0 transition-opacity duration-300 after:absolute after:mt-1.5 after:inline-block after:h-[1.2em] after:w-px after:border-r-2 after:border-sky-400 after:bg-transparent after:content-['']" > </ span >
230
+ < span className = "transition-opacity duration-300 group-data-finished:opacity-0 after:absolute after:mt-1.5 after:inline-block after:h-[1.2em] after:w-px after:border-r-2 after:border-sky-400 after:bg-transparent after:content-['']" > </ span >
231
231
{ '"' }
232
232
</ span >
233
233
) ;
@@ -267,7 +267,7 @@ async function BuiltCss({ className, timeline }: { className?: string; timeline:
267
267
< HighlightedCode
268
268
aria-label = "editor, readonly, built CSS"
269
269
className = { clsx (
270
- "group-data-finished:opacity-100 group-data-running:opacity-100 opacity-0 " ,
270
+ "opacity-0 group-data-finished:opacity-100 group-data-running:opacity-100" ,
271
271
"*:flex *:*:max-w-none *:*:shrink-0 *:*:grow *:rounded-lg *:px-4 *:py-2" ,
272
272
"**:[.line]:isolate **:[.line]:block **:[.line]:not-last:min-h-[1lh]" ,
273
273
"**:[code]:pr-4" ,
@@ -425,7 +425,7 @@ function Panel({
425
425
function Tabs ( { children } : { children : React . ReactNode } ) {
426
426
return (
427
427
< div
428
- className = "bg-white/2.5 sticky left -0 top -0 z-10 col-start-1 row-start-1 mb-px flex items-center gap-2 border-b border-b-white/5 bg-clip-padding p-1 text-white backdrop-blur-lg"
428
+ className = "sticky top -0 left -0 z-10 col-start-1 row-start-1 mb-px flex items-center gap-2 border-b border-b-white/5 bg-white/2. 5 bg-clip-padding p-1 text-white backdrop-blur-lg"
429
429
role = "presentation"
430
430
aria-label = "Tab Bar"
431
431
>
@@ -438,7 +438,7 @@ function Tab({ className, selected, children }: { className?: string; selected?:
438
438
return (
439
439
< button
440
440
className = { clsx (
441
- "inset-ring-white/5 aria-selected:inset-ring isolate rounded-sm px-2 py-1 text-xs/5 text-white hover:bg-white/10 aria-selected:bg-white/10" ,
441
+ "isolate rounded-sm px-2 py-1 text-xs/5 text-white inset-ring-white/5 hover:bg-white/10 aria-selected:bg-white/10 aria-selected:inset-ring " ,
442
442
className ,
443
443
) }
444
444
role = "presentation"
0 commit comments