使用 Ant.Design 选项卡 https://ant.design/components/tabs/
如何在 TabPane 上设置样式,使其最小高度始终为窗口的 100% 高度,即使它是空的?
下面的例子应该用颜色 #F5F5F5 覆盖窗口
最佳答案
这对我有用。
<TabPane tab={tab.title} key={index}>
<Row>
<Col style={{minHeight: "100vh", maxheight: "100vh"}}>
Test
</Col>
</Row>
</TabPane>
关于css - Ant Design Tab Pane 最小高度 100%,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57546564/