Some bidi fixes

This commit is contained in:
Pk11 2021-02-11 14:59:30 -06:00
parent de0c8a0f9a
commit 28478f0fca
2 changed files with 5 additions and 1 deletions

View File

@ -47,7 +47,7 @@
{% for item in site[collection.label] %} {% for item in site[collection.label] %}
{% assign itemRef = item.url | split: item.lang | last %} {% assign itemRef = item.url | split: item.lang | last %}
{% if itemRef == ref %} {% if itemRef == ref %}
<li><a class="dropdown-item{% if item.lang == page.collection %} active{% endif %}" data-language-id="{{ item.lang }}" href="{{ item.url | remove: ".html" }}">{{ site.data.lang-names[item.lang] }}</a></li> <li><a class="dropdown-item{% if item.lang == page.collection %} active{% endif %}" data-language-id="{{ item.lang }}" href="{{ item.url | remove: ".html" }}" dir="{% if site.data.rtl contains item.collection %}rtl{%else%}ltr{% endif %}">{{ site.data.lang-names[item.lang] }}</a></li>
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% endunless %} {% endunless %}

View File

@ -394,6 +394,10 @@ kbd.face {
margin-bottom: 0.25rem; margin-bottom: 0.25rem;
} }
a.footnote {
unicode-bidi: isolate;
}
a.footnote::before { a.footnote::before {
content: "["; content: "[";
} }