open-telemetry / opentelemetry.io

The OpenTelemetry website and documentation
https://opentelemetry.io
Creative Commons Attribution 4.0 International
563 stars 1.21k forks source link

Badges overflow in registry, causing left-right scrolling of page on mobile #5588

Open chalin opened 1 week ago

chalin commented 1 week ago

Button overflow should be contained, not be like this:

image

Otherwise this causes the overflowed page to allow left-right scrolling, which it shouldn't (bad UX) -- the page should fit "tightly" to the width.

/cc @svrnm

svrnm commented 1 week ago

this was not introduced by #5328 since we had those badges already before that. Another outreachy PR actually called this out as well and proposed a solution: https://github.com/open-telemetry/opentelemetry.io/pull/5403

kemsguy7 commented 1 week ago

@svrnm @chalin this was fixed in #5403 , kindly let me know if I should abstract that fix to a separate pr, because that pr has several fixes for responsive issues