ZIm/crates/ui/src
Danilo Leal 20b60e8dd2
Ensure project search actions are always aligned (#20353)
Follow up to https://github.com/zed-industries/zed/pull/20242

This PR ensures all the actions to the right of the project search
inputs have the same minimum width, ensuring that the inputs themselves
are always aligned. In the previous PR, I didn't considered the scenario
where the project search numbers where beyond 4 or 5 digits, which then
increased their width. This should be treated now!

<img width="700" alt="Screenshot 2024-11-07 at 09 55 11"
src="https://github.com/user-attachments/assets/7a9d8ebd-b575-4141-9242-3044f00150c5">

Release Notes:

- N/A
2024-11-07 10:56:10 -03:00
..
components Ensure project search actions are always aligned (#20353) 2024-11-07 10:56:10 -03:00
styles Add theme preview (#20039) 2024-10-31 11:40:38 -04:00
tests ui crate docs & spring cleaning (#18768) 2024-10-05 23:28:34 -04:00
traits Add ui::ComponentPreview (#20319) 2024-11-06 16:54:18 -05:00
utils Add theme preview (#20039) 2024-10-31 11:40:38 -04:00
components.rs gpui: Add scroll anchors (#19894) 2024-11-01 14:47:46 +01:00
prelude.rs Add ui::ComponentPreview (#20319) 2024-11-06 16:54:18 -05:00
styles.rs Improve experience when themes provide transparent status colors (#13996) 2024-07-09 11:27:47 -04:00
tests.rs ui crate docs & spring cleaning (#18768) 2024-10-05 23:28:34 -04:00
traits.rs Add ui::ComponentPreview (#20319) 2024-11-06 16:54:18 -05:00
ui.rs ui crate docs & spring cleaning (#18768) 2024-10-05 23:28:34 -04:00
utils.rs Add theme preview (#20039) 2024-10-31 11:40:38 -04:00