unkeyed / unkey

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

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

Open unrenamed opened 4 hours ago

unrenamed commented 4 hours 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 4 hours ago

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

ashokasec commented 2 hours ago

/assign

Anurag-singh-thakur commented 1 hour ago

/assign