I am facing an issue with justify-content-sm-center in Bootstrap 5. It is not functioning as intended when trying to center a specific div on smaller screens (below 578px). I have applied the justify-content-sm-center class to the div, but it does not work until the screen size exceeds 576px. The media query in the Bootstrap CSS limits this property to a minimum width of 576px.
@media (min-width: 576px)
.justify-content-sm-center {
justify-content: center !important;
}
Currently, it only works for screens larger than 576px. What could be the solution to make it functional for smaller screen sizes as well?
The issue persists in Bootstrap 5 where justify-content-sm-center does not function as expected, particularly on smaller screen sizes.