When there is a lot of content, even if the parent sets the height to 100% or auto, it still cannot fully automatically stretch under different browsers. The solution is as follows:
Create a space with a height of 1 at the bottom of the layer to solve this problem.
There is also something like this:
or