Currently, I am utilizing Bootstrap 4 to create a grid view. However, I have encountered an issue where my columns do not have the same width and their heights are uneven, as evident from the borders. It is mentioned that in Bootstrap 4, columns should inherently have the same height and width, but for some reason, this functionality does not seem to be working in my case. Any assistance on this matter would be greatly appreciated.
https://i.sstatic.net/u8ZN8.png
Below is the code snippet for my grid:
.grid-header {
background-color: #002f5a;
color: white;
height: 70px;
font-weight: bold;
font-size: 14pt;
}
.grid-header .col-sm {
border: 1px solid white;
padding: 10px 20px 10px 20px;
}
.grid-row {
border-bottom: 1px solid lightgray;
border-right: 1px solid lightgray;
...
...and so on
Edit: Upon further observation, it appears that this issue only arises when the content within my columns exceeds a certain length, causing them to span multiple lines. Using "text-truncate" is not a viable solution as it would truncate the content unnecessarily.