Currently, I am facing an issue with an element overlapping in my CSS file. On a regular browser, one line of text appears fine but on mobile devices, it overlaps into two lines. This problem is specifically for the mobile version of the website, particularly the @media section for landscape tablets.
The header (h2) text is overlapping on iPad/tablet screens. Below is the code snippet from the h2 @media section:
.da-slide h2{
font-size: 36px;
width: 80%;
top: 40px;
padding: 18px 20px 18px 20px;
(The .da-slide h2 is the component containing this text in the HTML)
I have attempted to use the line-height property to fix this issue, but unfortunately, it did not work as expected. Any suggestions or ideas to resolve this problem would be greatly appreciated!