Here is a Link that I am having trouble with. Within my CSS, I have an element named tbox
. It functions as an inline box with a width set at 100%. On the homepage, it adjusts its width perfectly based on its parent and is fully responsive. However, when navigating to the post page, the width changes according to the content inside. Feel free to view some helpful screenshots.
Upon opening the post, this is what I see-
Below is the code snippet for tbox
.tbox{
display: inline-block;
width: 100%;
height: auto;
padding: 2px;
background-color: #FFFFFF;
border-radius: 25px;
}
Adjusting the width to 850px fixes the issue on desktop, but I am running into problems overriding the width in responsive design where it remains at 850px. Is there a way to achieve responsiveness with a fixed width of 850px? Any alternative solutions?