unkey icon indicating copy to clipboard operation
unkey copied to clipboard

Copy Icon Misalignment for Short Permission Names

Open Vardhaman619 opened this issue 1 year ago • 15 comments

Preliminary Checks

  • [X] I have reviewed the documentation: https://unkey.com/docs

  • [X] I have searched for existing issues: https://github.com/unkeyed/unkey/issues

  • [X] This issue is not a question, general help request, or anything other than a bug report directly related to Unkey. Please ask questions in our Discord community: https://unkey.com/discord.

Reproduction / Replay Link (Optional)

No response

Issue Summary

The copy icon for short permission names moves to the left, which is not intended. It should always stay on the right side of the permission name for consistent placement.

Steps to Reproduce

  1. Go to Dashboard.
  2. Navigate to Authorization.
  3. Click on Permissions.
  4. Select any permission with a short name.
  5. Observe the copy icon next to the permission name.
  6. For short permission names, the copy icon shifts to the left.

Expected behavior

The copy icon should remain on the right side of the permission name, maintaining consistent placement for all permission names.

Other information

Actual Behavior: For short permission names, the copy icon shifts to the left.

Screenshots

copy-button-spacing-when-permission-name-is-short

Version info

.

Vardhaman619 avatar Oct 12 '24 09:10 Vardhaman619

assign this issue to me once it's verified

Vardhaman619 avatar Oct 12 '24 09:10 Vardhaman619

/assign

thisisayushverma avatar Oct 12 '24 09:10 thisisayushverma

/assign

Tejas-Dherange avatar Oct 12 '24 10:10 Tejas-Dherange

/assign

Rohankashid avatar Oct 12 '24 10:10 Rohankashid

/assign

SOUMITRO-SAHA avatar Oct 12 '24 12:10 SOUMITRO-SAHA

/award 150

chronark avatar Oct 13 '24 10:10 chronark

Awarding Vardhaman619: 150 points 🕹️ Well done! Check out your new contribution on oss.gg/Vardhaman619

oss-gg[bot] avatar Oct 13 '24 10:10 oss-gg[bot]

If you work on this and make changes, make sure you don't break it on other pages

chronark avatar Oct 13 '24 10:10 chronark

/assign

adityaraj-09 avatar Oct 13 '24 10:10 adityaraj-09

Assigned to @adityaraj-09! Please open a draft PR linking this issue within 48h ⚠️ If we can't detect a PR from you linking this issue in 48h, you'll be unassigned automatically 🕹️ Excited to have you ship this 🚀

oss-gg[bot] avatar Oct 13 '24 10:10 oss-gg[bot]

/assign

kunalarya873 avatar Oct 13 '24 18:10 kunalarya873

This issue is already assigned to another person. Please find more issues here.

oss-gg[bot] avatar Oct 13 '24 18:10 oss-gg[bot]

/assign

IRONalways17 avatar Oct 20 '24 07:10 IRONalways17

This issue is already assigned to another person. Please find more issues here.

oss-gg[bot] avatar Oct 20 '24 07:10 oss-gg[bot]

/assign

Shahab-16 avatar Oct 23 '24 12:10 Shahab-16

This issue is already assigned to another person. Please find more issues here.

oss-gg[bot] avatar Oct 23 '24 12:10 oss-gg[bot]