Skip to content

A free open source IT asset/license management system

Improve RTL support

Mustafa Online55b004d53d24
diff --git a/resources/views/layouts/default.blade.php b/resources/views/layouts/default.blade.php
index c22118161e..135350ac0b 100644
--- a/resources/views/layouts/default.blade.php
+++ b/resources/views/layouts/default.blade.php
@@ -1,5 +1,6 @@
<!DOCTYPE html>
-<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
+<html lang="{{ str_replace('_', '-', app()->getLocale()) }}"
+dir="{{ in_array(app()->getLocale(),['ar-SA','fa-IR', 'he-IL']) ? 'rtl' : 'ltr' }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">