unkeyed / unkey

Open source API management platform
https://go.unkey.com
Other
4.25k stars 505 forks source link

Insufficient padding in code block component on `/templates` page #2298

Open unrenamed opened 1 month ago

unrenamed commented 1 month ago

Preliminary Checks

Reproduction / Replay Link (Optional)

No response

Issue Summary

The code block component currently lacks adequate padding, making the displayed code appear cramped and suggesting that it continues beyond the right edge of the container. This design issue hampers readability and can confuse users, especially with longer code snippets.

Steps to Reproduce

  1. Visit https://www.unkey.com/templates/rust-rocket
  2. Scroll down to the steps with code blocks containing large code snippets

Expected behavior

To improve user experience, increasing the padding around the code block is necessary. Enhanced spacing will provide better visual separation, making it easier for users to engage with and understand the content.

Other information

No response

Screenshots

image image

Version info

- OS:
- Node:
- npm:
linear[bot] commented 1 month ago

ENG-1411 Insufficient padding in code block component on `/templates` page

ashokasec commented 1 month ago

/assign

Anurag-singh-thakur commented 1 month ago

/assign

perkinsjr commented 1 month ago

/award 150

oss-gg[bot] commented 1 month ago

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

perkinsjr commented 1 month ago

I believe this issue is specific to the layout itself and not the code block as the codeblock is reused in multiple places. for anyone who picks this up

prakashsp23 commented 1 month ago

/assign

oss-gg[bot] commented 1 month ago

Assigned to @prakashsp23! 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 🚀

sdshaheer commented 1 month ago

/assign

oss-gg[bot] commented 1 month ago

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

Rayyos commented 1 month ago

/assign

oss-gg[bot] commented 1 month ago

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

VenkateshSircilla123 commented 1 month ago

/assign

oss-gg[bot] commented 1 month ago

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

ashokasec commented 1 month ago

@unrenamed fixed the padding issue, can you just check it once? PR-2312

devXpraAddy commented 1 month ago

/assign

oss-gg[bot] commented 1 month ago

Assigned to @devXpraAddy! 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 🚀

mrjayantbokade commented 1 month ago

/assign

oss-gg[bot] commented 1 month ago

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

zubairahmed22 commented 1 month ago

/assign

oss-gg[bot] commented 1 month ago

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

shindebhavika commented 1 month ago

/assign

oss-gg[bot] commented 1 month ago

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

abhicodes01 commented 1 month ago

/assign

oss-gg[bot] commented 1 month ago

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

xRiddin commented 1 month ago

/assign

oss-gg[bot] commented 1 month ago

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

Sa1-Codes commented 1 month ago

/assign

oss-gg[bot] commented 1 month ago

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

OptimisticTech-Amber commented 1 month ago

/assign

oss-gg[bot] commented 1 month ago

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

Manik445 commented 1 month ago

/assign

oss-gg[bot] commented 1 month ago

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