简体   繁体   中英

React Material UI tabs css

Here I have attached my screen which is designed using react Material UI tabs. MaterialUI选项卡

It had two tab heading buttons as Contribute component and Contribute idea . I need to reduce the size of those two buttons but not the size of container which holds the input fields (ie: Select stack and Select Category). Also need to add a space between those headers and the input fields.I have tried with style={{width:'50%'}} property but it doesn't give me the required output. How can I achieve this

I saw a property called tabItemContainerStyle which is being used to modify the tab header. It is working fine for me

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM