Skip to content

Commit 3ae9773

Browse files
committed
feat: Update tailwind classes in shikiComponent children
1 parent 309b0c4 commit 3ae9773

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

packages/test-case-component/src/components/shikiComponent.tsx

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,15 @@ export function ShikiComponent({
1313
const { spokenForm } = data.command;
1414
const { before, during, after } = data;
1515
return (
16-
<div className="max-w-xl overflow-auto p-4">
16+
<div className="mx-16 overflow-auto p-4">
1717
<div className="p-8">
18-
<h2 className="dark:text-stone-100">{data.command}</h2>
18+
<h2 className="dark:text-stone-100">{spokenForm}</h2>
19+
1920
<div className="m-2 border">
20-
<Before content={data.before} />
21-
<div className="command">{data.command}</div>
22-
<During content={data.during} />
23-
<After content={data.after} />
21+
<Before content={before} />
22+
<div className="command">{spokenForm}</div>
23+
<During content={during} />
24+
<After content={after} />
2425
</div>
2526
</div>
2627
<details>

0 commit comments

Comments
 (0)