feat(dashboard): support RTL in dashboard (#11252)
* fix: add direction attribute to components and adjust styles for RTL support * fix(data-grid): comment it out * Added useDocumentDirection hook * refactor: Integrate useDocumentDirection hook * refactor: Standardize direction prop usage across components * resolve * fix: resolve build errors * fix : remove unused useDocument * Apply RTL styles for some components * Create smooth-gorillas-hide.md * refactor: update some styles for RTL support --------- Co-authored-by: William Bouchard <46496014+willbouch@users.noreply.github.com>
This commit is contained in:
co-authored by
William Bouchard
parent
a501364b2d
commit
a75cf7fb36
+1
-1
@@ -102,7 +102,7 @@ const FormExtensionFieldComponent = ({
|
||||
return <Input {...field} placeholder={placeholder} type="number" />
|
||||
}
|
||||
case "boolean": {
|
||||
return <Switch {...field} />
|
||||
return <Switch className="rtl:rotate-180" dir="ltr" {...field} />
|
||||
}
|
||||
default: {
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user