Closed YichaoOU closed 3 years ago
Hey @YichaoOU, I couldn't get your question, what css are you referring to? Because there is not css for the sidebar component in the doc, I'm wondering if you copied the css from the other component at the bottom of the page. Can you paste the css here, please?
But you don't need to use any css to implement the component, you need to pass the arguments with the colors and icons you wanna use:
Hey @YichaoOU, on the linked repository I have the sidebar implemented, and as you can see it do not have extra arguments and is working well
Thank you so much for the quick reply. I found the reason was style={'position': 'relative'}
. If I remove it, like in @kaburelabs example code, then everything is fine. I'm not good at CSS, so I can't really explain why.
@YichaoOU You are right, this style should not be on the documentation, just updated the docs, and I'll close this issue.
Hello,
I'm trying to replicate the
Side Bar
example. But using the same code, and the css provided in the bottom of the page, this is what I got:I guess I didn't have the correct CSS?
Thanks, Yichao