-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Used styled components in Sidebar #2394
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
Used styled components in Sidebar #2394
Conversation
This has been something that has been on my mind and I'm not sure of the best long-term solution. The best temporary solution to keep us moving for now is to keep a |
|
I have some thoughts about conditional rendering and I don't know if others agree @raclim @dewanshDT. This is just my opinion but I don't like hiding content via CSS @adityagarg06 The way you have handled the showing and hiding is consistent with how it's being done currently in the Instead of this: It could be: |
|
I totally agree with this |
|
@lindapaiste I have made all the changes that you required, Sorry for the late response. |
|
This issue is closed right? @adityagarg06 @lindapaiste |
|
Thanks for your work on this! Due to the amount of time that's passed since this pull request was opened, I'm going to close this for now. I'm sorry that we ended up not being able to merge this in, but please feel free to reopen a new pull request for this issue! |
Hey @lindapaiste, I've been working on adding styled component to the Sidebar. I've come across a situation where the class .sidebar_project-options needs to extend from .dropdown-open-right. However, since I can't directly use extends in styled components, I'm considering moving the dropdown-open-right code to the mixins.scss file as mixins. Would it be a good idea, or do you have any other suggestions?
It's coming up like this without the dropdown-open-right

I have verified that this pull request:
npm run lint)npm run test)developbranch.Fixes #123