Answer the question
In order to leave comments, you need to log in
Block by the height of the remaining area?
Hello. Tell me, please, the site has a header, then the sidebar goes to the left, and the main container to the right.
In the sidebar, the first block is the mini-profile, below the chat. How can I make the chat equal in height to the rest of the page?
Answer the question
In order to leave comments, you need to log in
.sidebar {
display: flex;
flex-direction: column;
}
.profile {
// your stuff
}
.chat {
flex: 1 0 auto;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question