We use RTL direction for the chart container in order see the rightmost data when the chart has a horizontal scrollbar. This however results in wrong text layout if there is no data or an error occurred.
Revert the text direction for all child elements and remove the custom flex overrides for the chart labels.
We use RTL direction for the chart container in order see the rightmost data when the chart has a horizontal scrollbar. This however results in wrong text layout if there is no data or an error occurred.
Revert the text direction for all child elements and remove the custom flex overrides for the chart labels.
resolves #263
The scrollbar is right by default:![statify-264-01](https://github.com/pluginkollektiv/statify/assets/12963621/52ae1bf7-552d-4c73-80b4-87b45ea81be6)
The labels are right-aligned:![statify-264-02](https://github.com/pluginkollektiv/statify/assets/12963621/22868d45-72e7-4999-917e-2391e5259844)
Inner text is displayed in default direction:![statify-264-03](https://github.com/pluginkollektiv/statify/assets/12963621/f8aa0157-1615-45e1-be29-eeb891b404fa)
And on sites with RTL languages, too:![statify-264-04](https://github.com/pluginkollektiv/statify/assets/12963621/0f09d79b-d74f-4197-a651-56b1a5a384f5)