layer5 icon indicating copy to clipboard operation
layer5 copied to clipboard

[UI/UX] Fix text overlap in `CaseStudyBanner` on medium viewports

Open piyushtripathi9424 opened this issue 2 months ago • 1 comments

Description

Describe the bug There is a responsiveness issue in the CaseStudyBanner component. On medium to smaller screen sizes (before the 600px breakpoint where the layout stacks vertically), the absolute-positioned "CASE STUDY" ribbon in the top right overlaps with the <h2> banner text ("Discover how HPE uses Meshery to manage SPIRE").

This overlapping text makes the banner difficult to read and hurts the user experience.

Expected Behavior The banner text should have sufficient padding or margins on the right side so that it clears the "CASE STUDY" ribbon without any overlapping, regardless of the screen width.

Screenshots

https://github.com/user-attachments/assets/381d08b1-ad6d-46b7-920f-bd8daaf4c521 Image Image Image

Steps to Reproduce

  1. Navigate to a page that contains the Case Study Banner.
  2. Slowly resize the browser window from a large desktop view down to a medium width (around 600px - 1000px).
  3. Observe that the "CASE STUDY" ribbon on the top-right overlaps with the centered <h2> text.

Proposed Solution Update the CSS in src/components/Case-study-banner/index.js to add adequate padding or adjust the width of the <h2> element on these specific viewports so the ribbon does not obscure the text.

I would like to work on this issue!

piyushtripathi9424 avatar Oct 01 '26 22:10 piyushtripathi9424

@dhruveshmishra Can you please assign this issue to me ?

piyushtripathi9424 avatar Oct 01 '26 22:10 piyushtripathi9424