Skip to content

Commit 9c0d5d1

Browse files
committed
set dir=rtl
1 parent 4e70aa5 commit 9c0d5d1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/content/learn/managing-state.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -690,6 +690,7 @@ function Task({ task, onChange, onDelete }) {
690690
```
691691

692692
```css
693+
body { direction: rtl; }
693694
button { margin: 5px; }
694695
li { list-style-type: none; }
695696
ul, li { margin: 0; padding: 0; }
@@ -789,6 +790,7 @@ export const LevelContext = createContext(0);
789790
```
790791

791792
```css
793+
body { direction: rtl; }
792794
.section {
793795
padding: 10px;
794796
margin: 5px;
@@ -888,7 +890,7 @@ function tasksReducer(tasks, action) {
888890
}
889891

890892
const initialTasks = [
891-
{ id: 0, text: 'Philosopher’s Path', done: true },
893+
{ id: 0, text: 'شارع Philosopher', done: true },
892894
{ id: 1, text: 'زيارة المعبد', done: false },
893895
{ id: 2, text: 'شراب الشاي الأخضر (matcha)', done: false }
894896
];
@@ -1003,6 +1005,7 @@ function Task({ task }) {
10031005
```
10041006

10051007
```css
1008+
body { direction: rtl; }
10061009
button { margin: 5px; }
10071010
li { list-style-type: none; }
10081011
ul, li { margin: 0; padding: 0; }

0 commit comments

Comments
 (0)