Open lyubomir-popov opened 1 month ago
Line sits correcty under the h2 above it:
Overflow won't change anything here. The line that you mention is a pseudo border on the bottom on header element. This header element has it's bottom margin, this margin will always be below the border (or below the ::after element, as in this case).
Do we actually need more spacing between h2 and the line? In such case h2 should have bigger bottom margin, or header needs some bottom padding.
Describe the bug
Notice the horizontal rule is placed too close to the title, the margin-bottom of which is ignored due to not tha parent not having
overflow-y:auto
see how the
<hr>
is at t he top of the orange margin ^To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.