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




commit 6ab3c7df02f36628bc5d6519d63fb5b4bb668a44
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]