Skip to content

Commit

Permalink
Change using margin-left & margin-right properties
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
AbdulrhmanGoni committed May 6, 2024
1 parent e7be8a9 commit bf161d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/language/style.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
}

.titleContainer > div > a {
margin-left: 20px !important;
margin-inline-start: 20px !important;
}

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

0 comments on commit bf161d0

Please sign in to comment.