瀏覽代碼

fix: set YAxis direction to `ltr` in overview component (#250)

Fixes a visual bug in the Bar Chart component that occurred when the application's layout direction was set to RTL
Javad Shoja 7 月之前
父節點
當前提交
349153bf02
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/features/dashboard/components/overview.tsx

+ 1 - 0
src/features/dashboard/components/overview.tsx

@@ -63,6 +63,7 @@ export function Overview() {
           axisLine={false}
         />
         <YAxis
+          direction='ltr'
           stroke='#888888'
           fontSize={12}
           tickLine={false}