Skip to content

Commit ea638f6

Browse files
committed
Fix stuff
1 parent f2e79cf commit ea638f6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/components/code-example.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export function CodeExampleWrapper({ className, children }: { className?: string
6060
<div className="rounded-xl bg-gray-950 in-data-stack:mt-0 in-data-stack:rounded-none in-[figure]:-mx-1 in-[figure]:-mb-1 in-data-stack:[:first-child>&]:rounded-t-xl in-data-stack:[:first-child>&]:*:rounded-t-xl in-data-stack:[:last-child>&]:rounded-b-xl in-data-stack:[:last-child>&]:*:rounded-b-xl">
6161
<div
6262
className={clsx(
63-
"p-1 text-sm scheme-dark dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0",
63+
"rounded-xl p-1 text-sm scheme-dark in-data-stack:rounded-none dark:bg-white/5 dark:inset-ring dark:inset-ring-white/10 in-data-stack:dark:inset-ring-0",
6464
className,
6565
)}
6666
>

src/docs/styling-with-utility-classes.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -928,8 +928,9 @@ When you add two classes that target the same CSS property, the class that appea
928928
In general, you should just never add two conflicting classes to the same element — only ever add the one you actually want to take effect:
929929

930930
```jsx
931+
// [!code filename:example.jsx]
931932
// [!code word:gridLayout\ \?\ \"grid\"\ \:\ \"flex\"]
932-
function Example({ gridLayout }) {
933+
export function Example({ gridLayout }) {
933934
return <div className={gridLayout ? "grid" : "flex"}>{/* ... */}</div>;
934935
}
935936
```

0 commit comments

Comments
 (0)