AntDesign TabPane最小高度100% [英] AntDesign TabPane min-height 100%
本文介绍了AntDesign TabPane最小高度100%的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
使用Ant.Design标签
解决方案
这对我有用.
< TabPane选项卡= {tab.title}键= {index}><行><颜色样式= {{minHeight:"100vh",maxheight:"100vh"}}>测试</Col></行></TabPane>
Using Ant.Design Tabs https://ant.design/components/tabs/
How can I set styling on TabPane so that it's min-height is always 100% height of the window even when it's empty?
Below example should cover the window with color #F5F5F5
解决方案
This has worked for me.
<TabPane tab={tab.title} key={index}>
<Row>
<Col style={{minHeight: "100vh", maxheight: "100vh"}}>
Test
</Col>
</Row>
</TabPane>
这篇关于AntDesign TabPane最小高度100%的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文