react-panels
react-panels copied to clipboard
Tab Content padding
Please recommend a good approach to change tab content padding (now is 10px ) without creating new theme.
Well, sorry for the delay but I've a demonstration at work in a few days which is killing me =D
It could be done the right way, which I can't see at the moment, or it could be done in a dirty and incredible simple way:
.tab-content {
padding: 50px !important;
}
I use inline styles as .css file is difficult to share among components, did you think of easier customization of theme styling by passing a styles from props.
Sample code
In panel Render_Styles = React.addons.update(theme_styles, {$merge:this.props.styles})
從我的 iPad 傳送
R. Beltran [email protected] 於 2015年5月27日 17:56 寫道:
Well, sorry for the delay but I've a demonstration at work in a few days which is killing me =D
It could be done the right way, which I can't see at the moment, or it could be done in a dirty and incredible simple way:
.tab-content { padding: 50px !important; } — Reply to this email directly or view it on GitHub.