aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/templates
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-03-23 21:46:36 -0700
committerBryan Newbold <bnewbold@archive.org>2021-03-23 21:46:36 -0700
commit34c19d18289ff4c236d9ed7f35f95843338d2f0a (patch)
treeffed6d344a049458dc8e870486e47c44265fd80b /fatcat_scholar/templates
parent5defd444135bc4adb0748b0d2b8c9b88708bdc1a (diff)
downloadfatcat-scholar-34c19d18289ff4c236d9ed7f35f95843338d2f0a.tar.gz
fatcat-scholar-34c19d18289ff4c236d9ed7f35f95843338d2f0a.zip
i18n: Farsi is also RTL (and add Hebrew)
Diffstat (limited to 'fatcat_scholar/templates')
-rw-r--r--fatcat_scholar/templates/base.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/fatcat_scholar/templates/base.html b/fatcat_scholar/templates/base.html
index 5af6ea2..8d0a5ae 100644
--- a/fatcat_scholar/templates/base.html
+++ b/fatcat_scholar/templates/base.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html lang="{{ locale or 'en' }}" style="position: relative; min-height: 100%; height: auto;" {% if locale in ['ar'] %}dir="rtl"{% endif %}>
+<html lang="{{ locale or 'en' }}" style="position: relative; min-height: 100%; height: auto;" {% if locale in ['ar', 'fa', 'he'] %}dir="rtl"{% endif %}>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
@@ -19,7 +19,7 @@
type="text/css">
<style>
{# locale specific CSS hacks (mostly RTL fixes) #}
- {% if locale in ['ar'] %}
+ {% if locale in ['ar', 'fa', 'he'] %}
.ui.divided.grid:not([class*="vertically divided"])>.column:not(.row), .ui.divided.grid:not([class*="vertically divided"])>.row>.column {
box-shadow: 1px 0 0 0 rgba(34,36,38,.15);
}