@mkboris
Posted
The .attribution overlaps the .card because you are using position: absolute
. To fix this give the body a flex-direction: column
and a gap: 1.5rem
to give some spacing between the card and the attribution and remove the position: absolute
from the attribution. Also, change the height
of the body to min-height
Using min-height
ensures the content can grow beyond the viewport height if necessary, while height
would restrict it to exactly the viewport height, potentially causing overflow issues with content that exceeds this height.
Marked as helpful