Set HTML dir attribute in RTL languages
This way properties flex layouts text direction will work properly.
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="<%= I18n.locale %>">
|
<html <%= "dir=rtl" if rtl? %> lang="<%= I18n.locale %>">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<%= render "layouts/common_head", default_title: "Admin" %>
|
<%= render "layouts/common_head", default_title: "Admin" %>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="<%= I18n.locale %>" data-current-user-id="<%= current_user&.id %>">
|
<html <%= "dir=rtl" if rtl? %> lang="<%= I18n.locale %>" data-current-user-id="<%= current_user&.id %>">
|
||||||
<head>
|
<head>
|
||||||
<%= render "layouts/common_head", default_title: setting["org_name"] %>
|
<%= render "layouts/common_head", default_title: setting["org_name"] %>
|
||||||
<%= render "layouts/tracking_data" %>
|
<%= render "layouts/tracking_data" %>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="<%= I18n.locale %>">
|
<html <%= "dir=rtl" if rtl? %> lang="<%= I18n.locale %>">
|
||||||
<head>
|
<head>
|
||||||
<%= render "layouts/common_head", default_title: setting["org_name"] %>
|
<%= render "layouts/common_head", default_title: setting["org_name"] %>
|
||||||
<%= render "layouts/meta_tags" %>
|
<%= render "layouts/meta_tags" %>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="<%= I18n.locale %>">
|
<html <%= "dir=rtl" if rtl? %> lang="<%= I18n.locale %>">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<%= render "layouts/common_head", default_title: "Management" %>
|
<%= render "layouts/common_head", default_title: "Management" %>
|
||||||
|
|||||||
Reference in New Issue
Block a user