1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-28 00:06:53 +01:00
unleash.unleash/frontend/src
Thomas Heartman 1ac447141a
fix: handle long names in new project card footers (#7216)
This is a redo of #7215. I missed the case where you have multiple
owners, causing it to lay out weird in that case.

This version handles that by returning an empty div for the owners
instead to fill up that space.

![image](https://github.com/Unleash/unleash/assets/17786332/4d0944a8-988c-4507-a127-755bbda90921)


![image](https://github.com/Unleash/unleash/assets/17786332/14feee20-e1f7-4507-b53d-c70b7d2961dc)


There **are** edge cases where the owners wrap:

![image](https://github.com/Unleash/unleash/assets/17786332/159838e3-2ea1-4846-9d53-357b1377c8e0)


But that is also the case with the current implementation:

![image](https://github.com/Unleash/unleash/assets/17786332/3e3be245-5ca7-46d9-bb3f-a453c90b4b78)

And only happens at very specific breakpoints.
2024-05-30 10:59:44 +02:00
..
__mocks__
assets feat: show docs with icons in sidebar (#7109) 2024-05-22 13:45:47 +02:00
component fix: handle long names in new project card footers (#7216) 2024-05-30 10:59:44 +02:00
constants
contexts
hooks feat: Recent flags (#7211) 2024-05-29 16:01:52 +02:00
interfaces chore: switch insights ui flag to kill switch (#7166) 2024-05-28 09:44:52 +03:00
openapi chore: update orval types after renaming (#7127) 2024-05-23 13:37:56 +03:00
themes chore: rename toggle to flag #7 (#7125) 2024-05-23 13:19:49 +03:00
types
utils chore: deprecate custom strategies (#7186) 2024-05-28 12:33:53 +02:00
index.tsx
setupTests.ts
vite-env.d.ts