-
Notifications
You must be signed in to change notification settings - Fork 0
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
importing css #7
Comments
Can you point out the specific aspect of styling that you are struggling with? |
I am using the SELECT component from blueprint, but I can't apply a max-height and overflow to it so that the popover is too huge, I found the solution is to import "@blueprintjs/core/lib/css/blueprint.css" to apply the default style to fix is problem, but once I import that the extension will collapse. |
You should not generally be importing CSS in your styles.
Are you aware about emotion’s capability to create styles that you can pass to any component’s className? And within those styles you can also use global selectors?
… On 26 Jan 2021, at 12:36 AM, s177228 ***@***.***> wrote:
I am using the SELECT component from blueprint, but I can't apply a max-height and overflow to it so that the popover is too huge, I found the solution is to import ***@***.***/core/lib/css/blueprint.css" to apply the default style to fix is problem, but once I import that the extension will collapse.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Let me find an example of how Paneron styles Blueprint components… |
Ok, thanks a lot |
As wrote in the README, the module can be imported is limited, however, is there any way to import css file to style the component since it seems not possible to styling the Blueprint component like the SELECT Component by using Emotion.
The text was updated successfully, but these errors were encountered: