Skip to content

Commit 8ba3f03

Browse files
author
AbdulrehmanSuliman
committed
Finished translating Installation
1 parent 6448fb8 commit 8ba3f03

4 files changed

Lines changed: 5 additions & 9 deletions

File tree

src/components/MDX/MDXComponents.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@ const Strong = (strong: JSX.IntrinsicElements['strong']) => (
6262
);
6363

6464
const OL = (p: JSX.IntrinsicElements['ol']) => (
65-
<ol className="mr-6 my-3 list-decimal" {...p} />
65+
<ol className="ml-6 my-3 list-decimal" {...p} />
6666
);
6767
const LI = (p: JSX.IntrinsicElements['li']) => (
6868
<li className="leading-relaxed mb-1" {...p} />
6969
);
7070
const UL = (p: JSX.IntrinsicElements['ul']) => (
71-
<ul className="mr-6 my-3 list-disc" {...p} />
71+
<ul className="ml-6 my-3 list-disc" {...p} />
7272
);
7373

7474
const Divider = () => (
@@ -402,7 +402,7 @@ export const MDXComponents = {
402402
return children;
403403
},
404404
MaxWidth({children}: {children: any}) {
405-
return <div className="max-w-4xl mr-0 2xl:mx-auto">{children}</div>;
405+
return <div className="max-w-4xl ml-0 2xl:mx-auto">{children}</div>;
406406
},
407407
Pitfall,
408408
Deprecated,

src/components/PageHeading.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function PageHeading({
2424
}: PageHeadingProps) {
2525
return (
2626
<div className="px-5 sm:px-12 pt-3.5">
27-
<div className="max-w-4xl mr-0 2xl:mx-auto">
27+
<div className="max-w-4xl ml-0 2xl:mx-auto">
2828
{breadcrumbs ? <Breadcrumbs breadcrumbs={breadcrumbs} /> : null}
2929
<H1 className="mt-0 text-primary dark:text-primary-dark -mx-.5 break-words">
3030
{title}

src/sidebarLearn.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
]
2222
},
2323
{
24-
"title": "Installation",
24+
"title": "التثبيت",
2525
"path": "/learn/installation",
2626
"routes": [
2727
{

src/styles/index.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,3 @@ ol.mdx-illustration-block {
713713
width: 100%;
714714
}
715715
}
716-
[lang='ar'] :is(h1, h2, h3, h4, h5, h6, p),
717-
[lang='ar'] :not(code, pre, .sp-layout) :is(ul, ol, li) {
718-
direction: rtl;
719-
}

0 commit comments

Comments
 (0)