[PR #9322] refactor(desktop): tweak share button to prevent layout shift #13071

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

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

State: closed
Merged: Yes


What does this PR do?

  • Adds a fallback for the Copy Link IconButton so the share popover doesn't shift when the user clicks on the Publish button.
  • Removes the unnecessary left border for the Copy Link icon
  • Nullifies the secondary button active scaling for Share button to prevent weird border shifting between Share & Copy Link

How did you verify your code works?

Before

https://github.com/user-attachments/assets/1c5bc0f2-1655-4c80-bd93-c2df6791f397

After

https://github.com/user-attachments/assets/82a91f86-5ef4-4221-aed1-7805670d4251

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/9322 **State:** closed **Merged:** Yes --- ### What does this PR do? - Adds a fallback for the `Copy Link` IconButton so the share popover doesn't shift when the user clicks on the `Publish` button. - Removes the unnecessary left border for the `Copy Link` icon - Nullifies the `secondary` button active scaling for Share button to prevent weird border shifting between `Share` & `Copy Link` ### How did you verify your code works? #### Before https://github.com/user-attachments/assets/1c5bc0f2-1655-4c80-bd93-c2df6791f397 #### After https://github.com/user-attachments/assets/82a91f86-5ef4-4221-aed1-7805670d4251
yindo added the pull-request label 2026-02-16 18:17:57 -05:00
yindo closed this issue 2026-02-16 18:17:57 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13071