mirror of
https://github.com/Unleash/unleash.git
synced 2025-10-27 11:02:16 +01:00
Updates the existing number of requests and overage info boxes to the new design. The existing versions of the boxes had some issues on narrower screens, so it was easier to just leave them as is and start from scratch. The previous boxes on narrow screens:  The current ones (from wide to narrower): Wide  Mid (the text should probably ideally wrap at the same time here, but I'm not sure how at the moment)  Narrow  Extra narrow:  There's still some work we **could** do, but we should have UX have a look first. In particular, it's about how the text wraps in certain places etc, but I think it's good enough for now. I'll come back with tests for the calculations and some refactoring and cleanup in a followup. |
||
|---|---|---|
| .. | ||
| Badge.test.tsx | ||
| Badge.tsx | ||