1
0
mirror of https://github.com/quay/quay.git synced 2026-01-26 06:21:37 +03:00
Files
quay/web/src
Ivan Bazulic c6114771fd ui: Fix UI x-axis display (PROJQUAY-7467) (#3097)
* bug: Fix UI x-axis display (PROJQUAY-7467)
Several fixes were made:

- We weren't properly displaying the `x` axis. This change increases the border padding to properly display the axis at the bottom.
- We weren't properly setting the legend font colors which made it impossible to see it when dark mode was turned on. We now properly apply them.
- If loaded logs were empty, the graph would not render properly. We check if any data should be rendered, if not, we display a message instead of rendering the graph.

* Fix indentation

* Fix indentation, take 2

* Fix linting, take 3

* Add test

* Fix tests

* bug: Correct padding on graph rendering (PROJQUAY-7467)
The previous changes were not sufficient when only one action was recorded. We now set fixed padding on the bottom to `50px` instead of dynamically allocating it to resolve the problem.

* Fix linting
2024-07-29 15:27:01 -04:00
..
2022-12-20 08:38:16 -05:00
2022-12-20 08:38:16 -05:00
2022-12-20 08:38:16 -05:00
2022-12-20 08:38:16 -05:00