Twitter-bootstrap row-fluid does not adjust the height depending on this child size

I have the following script. It is essentially

<div class="row-fluid"> <div class="sidebar"> </div> </div> 

I am just wondering why row-fluid does not adjust height based on sidebar height? I see that the sidebar has a height of 1450 pixels, so if the entire container div divs the size of the child div by default, it should also have a height of 1450 pixels. If I check the height of the line-liquid, it will remain at 0. How can I do this accordingly?

+4
source share
1 answer

Add the .clearfix class to the liquid-string and it will work :)

+14
source

Source: https://habr.com/ru/post/1398982/


All Articles