[UI/UX] Fix text overlap in `CaseStudyBanner` on medium viewports
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
Steps to Reproduce
- Navigate to a page that contains the Case Study Banner.
- Slowly resize the browser window from a large desktop view down to a medium width (around 600px - 1000px).
- 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!
@dhruveshmishra Can you please assign this issue to me ?