Skip to content

Commit bf161d0

Browse files
Change using margin-left & margin-right properties
Replace `margin-left` and `margin-right` properties of the links and the icon inside title container in language page with `margin-inline-start` and `margin-inline-end` because when the `direction` property of these elements changed to "rtl", `margin-inline-start` and `margin-inline-end` change margins directions of the elements to suit the "rtl" direction.
1 parent e7be8a9 commit bf161d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pages/language/style.module.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
}
66

77
.titleContainer > div > a {
8-
margin-left: 20px !important;
8+
margin-inline-start: 20px !important;
99
}
1010

1111
.icon {
12-
margin-right: 12px;
12+
margin-inline-end: 12px;
1313
}

0 commit comments

Comments
 (0)