Hello,
While working on my first solo project, I encountered an unusual behavior. The text margin within the container is experiencing overflow, meaning it extends beyond the container's boundaries. Despite explicitly defining the container's height, this problem persists. Surprisingly, adding a border to the container resolves the issue, and the margin no longer overflows.
To illustrate the problem, I have created a new scrim consisting of a div container and an h1 tag within it.
https://scrimba.com/scrim/c9g7ZPhD