I'm using a react-bootstrap
package on my project,
I have a 3 <Col>
component like this
<Container>
<Row>
<Col xs={12} lg={7}> {/* A */}
....
</Col>
<Col xs={12} lg={5}> {/* B */}
...
</Col>
<Col xs={12} lg={7}> {/* C */}
...
</Col>
</Row>
</Container>
That makes the output in LG
screen similar to this
_______ _______
| | | |
| A | | B |
|_____| |_____|
| |
| C |
|_____|
That output was okay, but the problem here is when the B
component gets larger height, it will give a unnecessary spacing between Col A
and Col C
like this
_______ _______
| | | |
| A | | |
|_____| | B |
| |
|_____|
_______
| |
| C |
|_____|
I don't want to move my C
lower when the B
gets taller in lg
grid, what should I do?