From 2965548ba77b50f5a619b8de063be2c82d63dfe7 Mon Sep 17 00:00:00 2001 From: fuma-nama Date: Thu, 23 May 2024 14:53:07 +0800 Subject: [PATCH 1/4] UI: Fix RTL layout compatibility --- apps/docs/app/global.css | 2 +- packages/ui/src/components/dynamic-sidebar.tsx | 6 +++--- packages/ui/src/components/sidebar.tsx | 5 +---- packages/ui/src/tailwind-plugin.ts | 10 +++++++++- 4 files changed, 14 insertions(+), 9 deletions(-) diff --git a/apps/docs/app/global.css b/apps/docs/app/global.css index 9fcb25b48..1c98d4ba1 100644 --- a/apps/docs/app/global.css +++ b/apps/docs/app/global.css @@ -47,4 +47,4 @@ --accent: 250 20% 38.3% !important; --muted-foreground: 230 80% 84% !important; --card: 230 40% 26.3% !important; -} \ No newline at end of file +} diff --git a/packages/ui/src/components/dynamic-sidebar.tsx b/packages/ui/src/components/dynamic-sidebar.tsx index ae0b29de5..4160c32a3 100644 --- a/packages/ui/src/components/dynamic-sidebar.tsx +++ b/packages/ui/src/components/dynamic-sidebar.tsx @@ -33,7 +33,7 @@ export function DynamicSidebar(props: SidebarProps): React.ReactElement { <> {!open ? (
-