ZIm/crates/ui/src
Daniel Sauble 91474e247f
Make close tab and pin tab buttons slightly larger for better usability (#34428)
Closes #6817

Increases the size of tab buttons from 16px to 18px so they're easier to
click.

For comparison, tab buttons in VSCode have a click target size of 20px,
so we're still a bit smaller than that.

Before:

<img width="261" height="33" alt="before_tab_buttons"
src="https://github.com/user-attachments/assets/7a43f8e1-da84-4981-b2c8-ca77f12ef279"
/>

After:

<img width="265" height="33" alt="after_tab_buttons"
src="https://github.com/user-attachments/assets/c64a98dd-c6bc-480b-be10-f7fa467074c4"
/>

VSCode (for comparison):

<img width="242" height="34" alt="Screenshot 2025-07-14 at 1 43 03 PM"
src="https://github.com/user-attachments/assets/2fafeb2f-75e6-45d1-83da-8601c22474bd"
/>

Release Notes:

- Improve usability of close tab and pin tab buttons by making them
slightly larger

---------

Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
2025-08-08 21:04:32 +00:00
..
components Make close tab and pin tab buttons slightly larger for better usability (#34428) 2025-08-08 21:04:32 +00:00
styles Recategorize a few items in the component preview (#35681) 2025-08-05 23:11:43 +00:00
traits ACP (#34030) 2025-07-09 16:02:31 +00:00
utils Add initial element inspector for Zed development (#31315) 2025-05-23 23:08:59 +00:00
component_prelude.rs component: Component crate cleanup (#29967) 2025-05-06 03:41:52 +00:00
components.rs onboarding: Add the AI page (#35351) 2025-08-01 10:43:59 -04:00
prelude.rs Move the LoadingLabel component to the UI crate (#33893) 2025-07-04 04:49:11 +00:00
styles.rs Add StatusToast & the ToastLayer (#26232) 2025-03-06 20:37:54 +00:00
traits.rs component: Add component and component_preview crates to power UI components (#24456) 2025-02-09 13:25:03 -05:00
ui.rs ui_macros: Remove DerivePathStr macro (#30862) 2025-05-17 10:05:55 +00:00
utils.rs welcome: Theme preview tile (#29689) 2025-04-30 17:46:11 +00:00