File tree Expand file tree Collapse file tree 6 files changed +11
-2
lines changed
Expand file tree Collapse file tree 6 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 11<!DOCTYPE html>
2- < html lang ="en ">
2+ < html lang ="en " dir =" rtl " >
33 < head >
44 < meta charset ="UTF-8 " />
55 < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
Original file line number Diff line number Diff line change 2424 "pinia" : " ^2.0.33" ,
2525 "sanitize-html" : " ^2.10.0" ,
2626 "socket.io-client" : " ^4.7.2" ,
27+ "tailwindcss-rtl" : " ^0.9.0" ,
2728 "vue" : " ^3.5.14" ,
2829 "vue-router" : " ^4.2.2" ,
2930 "vuedraggable" : " ^4.1.0" ,
Original file line number Diff line number Diff line change 11<template >
22 <div
3- class =" flex select-none flex-col border-r border-gray-200 bg-gray-50 text-base duration-300 ease-in-out"
3+ class =" flex select-none flex-col border-r rtl:border-l border-gray-200 bg-gray-50 text-base duration-300 ease-in-out"
44 :style =" {
55 'min-width': width,
66 'max-width': width,
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ export default {
2727 } ,
2828 plugins : [
2929 require ( "@tailwindcss/typography" ) ,
30+ require ( "tailwindcss-rtl" ) ,
3031 function ( { addUtilities } ) {
3132 addUtilities ( {
3233 ".hide-scrollbar" : {
Original file line number Diff line number Diff line change 11{
22 "compilerOptions" : {
3+ "esModuleInterop" : true ,
34 "allowSyntheticDefaultImports" : true ,
5+ "target" : " es2022" ,
6+ "module" : " esnext" ,
7+ "moduleResolution" :" node" ,
8+ "jsx" : " preserve" ,
49 "baseUrl" : " ." ,
510 "paths" : {
611 "@/*" : [" ./src/*" ]
Original file line number Diff line number Diff line change 22from frappe import _
33from frappe .integrations .frappe_providers .frappecloud_billing import is_fc_site
44from frappe .utils import cint
5+ from frappe .utils .jinja_globals import is_rtl
56from frappe .utils .telemetry import capture
67
78no_cache = 1
@@ -36,6 +37,7 @@ def get_boot():
3637 "session_user" : frappe .session .user ,
3738 "date_format" : frappe .get_system_settings ("date_format" ),
3839 "time_format" : frappe .get_system_settings ("time_format" ),
40+ "dir" : "rtl" if is_rtl () else "ltr" ,
3941 }
4042 )
4143
You can’t perform that action at this time.
0 commit comments