如何将页脚设置为低于反应中的含量

问题描述 投票:1回答:1

当内容在一行内时,我在底部有一个页脚,如下所示:enter image description here

当我的内容多于一行时,页脚也位于底部,但是它将覆盖最后一行内容的一部分,如下所示:enter image description here

我正在使用语义ui中的Card.Group来响应内容,而我的页脚CSS为:

position:'absolute',
left:0,
bottom:0,
right:0

我该如何解决?

css reactjs semantic-ui-react
1个回答
0
投票

您可以使用列表将容器的最小高度设置为

© www.soinside.com 2019 - 2024. All rights reserved.