mirror of
https://github.com/rvtr/wiki.git
synced 2025-10-31 06:31:13 -04:00
Some bidi fixes
This commit is contained in:
parent
de0c8a0f9a
commit
28478f0fca
@ -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 %}
|
||||||
|
|||||||
@ -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: "[";
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user