aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/templates/base.html
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-10-14 03:06:07 -0700
committerBryan Newbold <bnewbold@archive.org>2020-10-14 03:06:07 -0700
commitcb89a5f0ff3ee88e0bff48f3fe5f0837cd2eb32c (patch)
treedf6be736cb743a3e1fa6a1f21388c62c87f2a0fb /fatcat_scholar/templates/base.html
parentfee0dc1b61cb53944692c3cb78b390ce830b7038 (diff)
downloadfatcat-scholar-cb89a5f0ff3ee88e0bff48f3fe5f0837cd2eb32c.tar.gz
fatcat-scholar-cb89a5f0ff3ee88e0bff48f3fe5f0837cd2eb32c.zip
web: right-to-left design tweaks
Diffstat (limited to 'fatcat_scholar/templates/base.html')
-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 6cf6138..0e61a7e 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;">
+<html lang="{{ locale or 'en' }}" style="position: relative; min-height: 100%; height: auto;" {% if locale in ['ar'] %}dir="rtl"{% endif %}>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
@@ -128,7 +128,7 @@
</head>
<body>
-<nav class="ui inverted menu" style="margin: 0;">
+<nav class="ui inverted menu" style="margin: 0;" dir="ltr">
<div class="ui container">
{% if settings.SCHOLAR_ENV != "prod" %}
<div class="ui left corner {% if settings.SCHOLAR_ENV == "qa" %}orange{% else %}pink{% endif %} small label">