Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tab Content padding #18

Open
yapcheahshen opened this issue May 23, 2015 · 2 comments
Open

Tab Content padding #18

yapcheahshen opened this issue May 23, 2015 · 2 comments

Comments

@yapcheahshen
Copy link
Collaborator

Please recommend a good approach to change tab content padding (now is 10px ) without creating new theme.

@Theadd
Copy link
Owner

Theadd commented May 27, 2015

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;
}

@yapcheahshen
Copy link
Collaborator Author

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 notifications@github.com 於 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants