Keys and values are not vertically aligned in Certificate details modal
Fleet version: Fleet 4.82.0-rc.2602210008
Web browser and operating system: Chrome 145.0.7632.76 (Official Build) (arm64) running on macOS
💥 Actual behavior
Keys and values are not vertically aligned (e.g. see Organization: System Identity where System Identity is a little bit higher than Organization).
🛠️ To fix
Update styles to match original wireframes.
🧑💻 Steps to reproduce
These steps:
- [x] Have been confirmed to consistently lead to reproduction in multiple Fleet instances.
- [x] Describe the workflow that led to the error, but have not yet been reproduced in multiple Fleet instances.
- Go to the Host details page.
- Click on any Certificate.
- Observe the keys and values not vertically aligned in the modal.
🕯️ More info (optional)
Observed locally and in Dogfood.
Issue is caused by line-height: initial on the TooltipWrapper, which I don't think is trivial to solve.
Maybe a padding issue. Let's go with a bold 2.
@getvictor I took https://github.com/fleetdm/fleet/issues/40641 which was basically the same issue but in a different place. The same fix applies for both, so I'm also fixing this one in #41124
I'll take QA on this one.
Looks correct to me! ✅
Misaligned details, like a river off its course. Fixed, clarity soars.