fleet icon indicating copy to clipboard operation
fleet copied to clipboard

Keys and values are not vertically aligned in Certificate details modal

Open nulmete opened this issue 9 months ago • 5 comments

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).

Image

🛠️ 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.
  1. Go to the Host details page.
  2. Click on any Certificate.
  3. 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.

Image

nulmete avatar Feb 23 '26 14:02 nulmete

Image

Maybe a padding issue. Let's go with a bold 2.

getvictor avatar Feb 26 '26 18:02 getvictor

@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

nulmete avatar Mar 06 '26 15:03 nulmete

I'll take QA on this one.

ksykulev avatar Mar 16 '26 20:03 ksykulev

Looks correct to me! ✅ Image

ksykulev avatar Mar 16 '26 20:03 ksykulev

Misaligned details, like a river off its course. Fixed, clarity soars.

fleet-release avatar Apr 01 '26 16:04 fleet-release