Skip to content

Commit b438ff4

Browse files
committed
Make the schema user-selectable again
1 parent 456432b commit b438ff4

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/components/index-page/how-it-works/how-it-works-list-item.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export function HowItWorksListItem({
1313
{text}
1414
{icon}
1515
</div>
16-
<div className="mt-px flex-1 bg-neu-0 text-sm/[21px] [--cm-background:transparent] md:pl-2 md:pt-2 max-md:[&_code>span]:!pl-0 [&_pre]:border-none [&_pre]:ring-0">
16+
<div className="mt-px flex-1 bg-neu-0 text-sm/[21px] [--cm-background:transparent] md:pl-2 max-md:[&_code>span]:!pl-0 [&_pre]:border-none [&_pre]:ring-0">
1717
{code}
1818
</div>
1919
</li>

src/components/index-page/how-it-works/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,8 @@ export function HowItWorks() {
5353
{inView && (
5454
<ol
5555
// this is rendered *on top* of the static version to avoid layout shift
56-
className="absolute inset-0 list-none gap-px lg:grid lg:grid-cols-3"
56+
className="pointer-events-none absolute inset-0 list-none gap-px *:pointer-events-auto lg:grid lg:grid-cols-3 lg:[&>:first-child]:col-start-2"
5757
>
58-
<div className="pointer-events-none" />
5958
<InteractiveEditor />
6059
</ol>
6160
)}

0 commit comments

Comments
 (0)