mirror of
https://github.com/henrygd/beszel.git
synced 2025-12-17 18:56:17 +01:00
RTL layout fixes
This commit is contained in:
@@ -30,6 +30,8 @@ export default memo(function MemChart({ chartData }: { chartData: ChartData }) {
|
||||
<CartesianGrid vertical={false} />
|
||||
{totalMem && (
|
||||
<YAxis
|
||||
direction="ltr"
|
||||
orientation={chartData.orientation}
|
||||
// use "ticks" instead of domain / tickcount if need more control
|
||||
domain={[0, totalMem]}
|
||||
tickCount={9}
|
||||
|
||||
Reference in New Issue
Block a user