opencode icon indicating copy to clipboard operation
opencode copied to clipboard

refactor(desktop): tweak share button to prevent layout shift

Open itsrainingmani opened this issue 1 day ago • 2 comments

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

itsrainingmani avatar Jan 19 '26 00:01 itsrainingmani