A set of style fixes for rtl langs

This commit is contained in:
daudix
2024-06-17 05:21:54 +03:00
parent f7dcab6c1d
commit 2abb4d234c
8 changed files with 108 additions and 48 deletions

View File

@ -1,9 +1,9 @@
{% set rtl = ["ar", "arc", "az", "dv", "ff", "he", "ku", "nqo", "fa", "rhg", "syc", "ur"] %}
{% set rtl_langs = ["ar", "arc", "az", "dv", "ff", "he", "ku", "nqo", "fa", "rhg", "syc", "ur"] %}
<!DOCTYPE html>
<html lang="{{ lang }}">
{% include "partials/head.html" %}
<body {% if lang in rtl %}dir="rtl"{% endif %}>
<body {% if lang in rtl_langs %}dir="rtl"{% endif %}>
{% include "partials/nav.html" %}
<div id="main" class="container">
{% block custom %}{%- endblock -%}