Skip to content

Commit

Permalink
change some styles to support rtl direction
Browse files Browse the repository at this point in the history
  • Loading branch information
mahmood601 committed Jul 13, 2023
1 parent c7576e1 commit 6e720cb
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions src/styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,41 @@
}

/* Write your own custom base styles here */

/* Arabic RTL Support */
p,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
.pl-0 div:nth-of-type(1) .text-link {
direction: rtl;
}
h1,
h2,
h3,
h4,
h5,
h6 {
padding-right: 0 !important;
}

.list-decimal {
padding-left: 0;
padding-right: 24px;
}

nav > div {
flex-direction: row-reverse;
}
nav div:nth-of-type(1) div:nth-of-type(1) {
flex-direction: row-reverse;
}

html {
color-scheme: light;

Expand Down

0 comments on commit 6e720cb

Please sign in to comment.