-
Notifications
You must be signed in to change notification settings - Fork 49
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
Enhancement/reusable search bar component #364
Enhancement/reusable search bar component #364
Conversation
Updated height and border of .searchInputs. Added padding and shortened width of input. Removed the blue x button of input. Added min-height, min-width and padding of .search-icon-div.
search results is clicked or enter is pressed.
Added styling for search-results-container scrollbar.
✅ Deploy Preview for spacelab-main ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great! Before I approve, can you please comment out the code inside podcastArray? It is filler data that is only used for testing and shouldn't appear on the website.
Definitely, will do. |
Already commented out the podcastArray, btw :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Hello Spacelab team. This is my solution for: #328.
I've added stylings to the scroll bar in results container. Also removed the blue X that appeared on container on focus:
I've also moved the search icon farther to the left and added search result title as placeholder:
And also the x icon will change to search when user clicks outside of search input:
Input focused:
Input blurred:
Please tell me if all is as expected :)