My issue is quite straightforward. I am trying to display all content on a web browser without the need for a horizontal scrollbar.
<div class="container">
<div class="row h-100" style="overflow-y:scroll; padding-left:17px; padding-right:17px">
@for(int i=0;i<100;i++)
{
<div class="row flex-nowrap">
<div class="col">
<div class="row">
https://www.whitebyte.info/programming/css/how-to-make-a-div-take-the-remaining-height
TESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTESTTE
</div>
<div class="row">
sfdfsfdsdfdf
</div>
</div>
<div class="col-auto">
TEST Container
asddasdsaasdda
</div>
</div>
}
</div>
</div>
The above code represents my current implementation within a Blazor project using C#. However, this particular issue is not specific to any programming language – it pertains more to HTML and CSS.
As of now, my webpage appears like this: https://i.sstatic.net/3SPaC.png
I aim to showcase the contents of this page without needing a horizontal scrollbar. Unfortunately, this has proven challenging for me. Implementing overflow-x:hidden
hides the content, which is not my desired outcome.