diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2020-05-18 23:58:21 +0200 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2020-05-18 23:58:21 +0200 |
commit | 65484b0f4c5d14241a5618ba89f476c53b794cf6 (patch) | |
tree | 09f5d50071234cf471df4a4b8e0846666ef41cc6 /layouts | |
parent | 71e55e59d119523e933911835059c5a846437570 (diff) |
#215, Fix menu translateX for RTL (negative X)
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/baseof.html | 2 | ||||
-rw-r--r-- | layouts/partials/docs/search.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 7881d18..5784d2a 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -6,7 +6,7 @@ {{ partial "docs/inject/head" . }} </head> -<body> +<body dir={{ .Site.Language.LanguageDirection }}> <input type="checkbox" class="hidden" id="menu-control" /> <main class="container flex"> <aside class="book-menu"> diff --git a/layouts/partials/docs/search.html b/layouts/partials/docs/search.html index d6a539c..5cc9dad 100644 --- a/layouts/partials/docs/search.html +++ b/layouts/partials/docs/search.html @@ -1,7 +1,7 @@ {{ if default true .Site.Params.BookSearch }} <div class="book-search"> <input type="text" id="book-search-input" placeholder="{{ i18n "Search" }}" aria-label="{{ i18n "Search" }}" maxlength="64" data-hotkeys="s/" /> - <div class="book-search-spinner spinner hidden"></div> + <div class="book-search-spinner hidden"></div> <ul id="book-search-results"></ul> </div> {{ end }} |