[damned-lies/bootstrap-5] Add rtl option in html tag



commit 2398045ae1823d6f61f7e0b8a4777012614159b7
Author: Guillaume Bernard <associations guillaume-bernard fr>
Date:   Mon Sep 19 11:46:26 2022 +0200

    Add rtl option in html tag

 templates/base.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/templates/base.html b/templates/base.html
index 7d512ac1..f8547d88 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -2,7 +2,7 @@
 {% load bootstrap5 %}
 
 <!DOCTYPE html>
-<html lang="{{ LANGUAGE_CODE }}">
+<html lang="{{ LANGUAGE_CODE }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}>
 <head>
     <meta charset="UTF-8">
     <meta name="viewport" content="width=device-width, initial-scale=1">


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]