Skip to content

Commit 4b70f72

Browse files
committed
Init Persian localization - Remove RTL support
1 parent ac7f859 commit 4b70f72

File tree

6 files changed

+3
-42
lines changed

6 files changed

+3
-42
lines changed

assets/scss/_desktop.scss

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,6 @@ $video-section-height: 580px;
44

55
@media screen and (min-width: 1024px) {
66

7-
body:lang(fa) {
8-
overflow-x: hidden;
9-
}
10-
11-
table:dir(rtl) {
12-
text-align: left;
13-
direction: ltr;
14-
}
15-
16-
.breadcrumb-item + .breadcrumb-item::before {
17-
float: right;
18-
}
197
.td-home {
208
.header-hero {
219
#vendorStrip {
@@ -47,9 +35,6 @@ $video-section-height: 580px;
4735
p {
4836
text-align: left
4937
}
50-
p:dir(rtl) {
51-
text-align: right
52-
}
5338

5439
.image-wrapper {
5540
position: absolute;

assets/scss/_documentation.scss

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -98,15 +98,6 @@ div.feature-state-notice {
9898
font-style: initial;
9999
}
100100
}
101-
.alert:dir(rtl) {
102-
border-style: solid;
103-
border-width: 0 4px 0 0;
104-
border-radius: 0 0 0 0;
105-
h4 {
106-
font-weight: bold;
107-
font-style: initial;
108-
}
109-
}
110101

111102
.glossary-tooltip {
112103
display: inline-block;

assets/scss/_tablet.scss

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,6 @@ $video-section-height: 400px;
1616

1717
@media screen and (min-width: 768px) {
1818
@import "size";
19-
20-
body:lang(fa) {
21-
overflow-x: hidden;
22-
}
23-
24-
table:dir(rtl) {
25-
text-align: left;
26-
direction: ltr;
27-
}
2819

2920
#hamburger {
3021
display: none;
@@ -132,12 +123,6 @@ $video-section-height: 400px;
132123
text-align: left;
133124
margin-right: 5%;
134125
}
135-
&:dir(rtl) > .light-text {
136-
display: block;
137-
float: right;
138-
text-align: right;
139-
margin-right: 5%;
140-
}
141126
}
142127

143128
#mobileShowVideoButton {

layouts/_default/baseof.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!doctype html>
2-
<html lang="{{ .Site.Language.Lang }}" class="{{.Params.class}} no-js" dir="{{ or .Site.Language.LanguageDirection `ltr` }}">
2+
<html lang="{{ .Site.Language.Lang }}" class="{{.Params.class}} no-js">
33
{{- if eq hugo.Environment "preview" -}}
44
<!-- deploy preview -->
55
{{- end -}}

layouts/blog/baseof.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!doctype html>
2-
<html lang="{{ .Site.Language.Lang }}" class="no-js" dir="{{ or .Site.Language.LanguageDirection `ltr` }}">
2+
<html lang="{{ .Site.Language.Lang }}" class="no-js">
33
<head>
44
{{ with .Params.canonicalUrl }}
55
<link rel="canonical" href="{{ . }}">

layouts/docs/baseof.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!doctype html>
2-
<html lang="{{ .Site.Language.Lang }}" class="no-js" dir="{{ or .Site.Language.LanguageDirection `ltr` }}">
2+
<html lang="{{ .Site.Language.Lang }}" class="no-js">
33
<head>
44
{{ partial "head.html" . }}
55
<title>{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{ end }}</title>

0 commit comments

Comments
 (0)