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

topic sidebar styling #624

Merged
merged 4 commits into from
Nov 22, 2023
Merged

Conversation

cosmicpotato137
Copy link
Contributor

@cosmicpotato137 cosmicpotato137 commented Nov 21, 2023

Changed ui for topic search results.

closes: #486

Screenshot 2023-11-21 144233

sorry i didn't read the results before I took the screenshot, that's pretty dark :(

@@ -85,7 +86,7 @@ export const Episode = ({

return (
<EpisodeWrapper className={className} isSelected={isSelected} onClick={onClick}>
{type !== 'tweet' && type !== 'person' && type !== 'guest' && (
{type !== 'tweet' && type !== 'person' && type !== 'guest' && type !== 'topic' && (
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe replace this with something like

const defaultViewTypes = [...]
!defaultViewTypes.includes(type)

because we have many options now

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

flex-direction: row;

svg {
color: #909baa;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it would be better to use variable from color constants

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok I found this color already in colors, I'm using that one.

@Rassl Rassl merged commit 1495e1d into stakwork:master Nov 22, 2023
4 checks passed
@cosmicpotato137 cosmicpotato137 deleted the sidebar-show-type branch November 23, 2023 15:21
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

Successfully merging this pull request may close these issues.

Update Topic result UI in search results
2 participants