Skip to content

Commit 82c72fb

Browse files
committed
Fix RTL for Code Blocks
1 parent ffac50c commit 82c72fb

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/content/learn/managing-state.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ export default function Form() {
166166
```
167167

168168
```css
169+
body { direction: rtl; }
169170
label { display: block; margin-bottom: 5px; }
170171
```
171172

@@ -384,7 +385,7 @@ export default function Chat({ contact }) {
384385
```css
385386
body { direction: rtl; }
386387
.chat, .contact-list {
387-
float: left;
388+
float: right;
388389
margin-bottom: 20px;
389390
}
390391
ul, li {
@@ -480,7 +481,7 @@ export default function Chat({ contact }) {
480481
```css
481482
body { direction: rtl; }
482483
.chat, .contact-list {
483-
float: left;
484+
float: right;
484485
margin-bottom: 20px;
485486
}
486487
ul, li {
@@ -690,6 +691,7 @@ function Task({ task, onChange, onDelete }) {
690691
```
691692

692693
```css
694+
body { direction: rtl; }
693695
button { margin: 5px; }
694696
li { list-style-type: none; }
695697
ul, li { margin: 0; padding: 0; }
@@ -789,6 +791,7 @@ export const LevelContext = createContext(0);
789791
```
790792

791793
```css
794+
body { direction: rtl; }
792795
.section {
793796
padding: 10px;
794797
margin: 5px;
@@ -1003,6 +1006,7 @@ function Task({ task }) {
10031006
```
10041007

10051008
```css
1009+
body { direction: rtl; }
10061010
button { margin: 5px; }
10071011
li { list-style-type: none; }
10081012
ul, li { margin: 0; padding: 0; }

0 commit comments

Comments
 (0)