[PR #9251] refactor(desktop): improve layout and styling of session search button #13037

Closed
opened 2026-02-16 18:17:55 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/9251

State: closed
Merged: Yes


What does this PR do?

Improves the style of the Session Search Button to properly truncate long project names maintaining the position of the Keybind component.

It also increases the height of the span that contains the name, as it was previously too small, and letters with long bottom part like g and p would get cut off during render. This does change the look, then

Closes #9249

How did you verify your code works?

Tested on my machine, and tested with short project names to make sure the changes didnt affect other working cases.

Before
Screenshot 2026-01-18 at 14 30 30

After
Screenshot 2026-01-18 at 14 49 57

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/9251 **State:** closed **Merged:** Yes --- ### What does this PR do? Improves the style of the Session Search Button to properly truncate long project names maintaining the position of the Keybind component. It also increases the height of the span that contains the name, as it was previously too small, and letters with long bottom part like `g` and `p` would get cut off during render. This does change the look, then Closes #9249 ### How did you verify your code works? Tested on my machine, and tested with short project names to make sure the changes didnt affect other working cases. Before <img width="400" height="44" alt="Screenshot 2026-01-18 at 14 30 30" src="https://github.com/user-attachments/assets/34464bf9-2161-42a7-a19e-1be0692a3282" /> After <img width="334" height="34" alt="Screenshot 2026-01-18 at 14 49 57" src="https://github.com/user-attachments/assets/36be6877-2c18-4ab7-9dca-7124da1b2fd1" />
yindo added the pull-request label 2026-02-16 18:17:55 -05:00
yindo closed this issue 2026-02-16 18:17:55 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13037