opencode
opencode copied to clipboard
refactor(desktop): tweak share button to prevent layout shift
What does this PR do?
- Adds a fallback for the
Copy LinkIconButton so the share popover doesn't shift when the user clicks on thePublishbutton. - Removes the unnecessary left border for the
Copy Linkicon - Nullifies the
secondarybutton active scaling for Share button to prevent weird border shifting betweenShare&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