Skip to content

Commit 3c0eec6

Browse files
docs(en): merge reactjs.org/main into zh-hans.reactjs.org/main @ 19aa5b4
2 parents a10c149 + ce9115b commit 3c0eec6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

beta/src/components/MDX/ConsoleBlock.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function ConsoleBlock({level = 'error', children}: ConsoleBlockProps) {
4444
<Box className="bg-gray-300 dark:bg-gray-90" width="15px" />
4545
</div>
4646
<div className="flex text-sm px-4">
47-
<div className="border-b-2 border-gray-300 dark:border-gray-90">
47+
<div className="border-b-2 border-gray-300 dark:border-gray-90 dark:text-gray-30 text-gray-50">
4848
Console
4949
</div>
5050
<div className="px-4 py-2 flex">

beta/src/content/learn/javascript-in-jsx-with-curly-braces.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ export default function TodoList() {
472472
```css
473473
body { padding: 0; margin: 0 }
474474
body > div > div { padding: 20px; }
475-
.avatar { border-radius: 50%; height: 90px; }
475+
.avatar { border-radius: 50%; }
476476
```
477477

478478
</Sandpack>
@@ -523,7 +523,7 @@ export default function TodoList() {
523523
```css
524524
body { padding: 0; margin: 0 }
525525
body > div > div { padding: 20px; }
526-
.avatar { border-radius: 50%; height: 90px; }
526+
.avatar { border-radius: 50%; }
527527
```
528528

529529
</Sandpack>
@@ -578,7 +578,7 @@ export function getImageUrl(person) {
578578
```css
579579
body { padding: 0; margin: 0 }
580580
body > div > div { padding: 20px; }
581-
.avatar { border-radius: 50%; height: 90px; }
581+
.avatar { border-radius: 50%; }
582582
```
583583

584584
</Sandpack>

0 commit comments

Comments
 (0)