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

Fix channel selector styles #4157

Merged
merged 3 commits into from May 8, 2020
Merged

Fix channel selector styles #4157

merged 3 commits into from May 8, 2020

Conversation

btzr-io
Copy link
Collaborator

@btzr-io btzr-io commented May 8, 2020

PR Checklist

Please check all that apply to this PR using "x":

  • I have checked that this PR is not a duplicate of an existing PR (open, closed or merged)
  • I have checked that this PR does not introduce a breaking change
  • This PR introduces breaking changes and I have provided a detailed explanation below

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting)
  • Refactoring (no functional changes)
  • Documentation changes
  • Other - Please describe:

Fixes

What is the current behavior?

  • Wrong alignment of the menu-list in the channelSelector component
  • The data-selected styles don't work on the menu items.
  • Inconsistent horizontal space of items when channels have a long name.

old

What is the new behavior?

new_menu_channels

@btzr-io btzr-io changed the title fix channel selector styles Fix channel selector styles May 8, 2020
@btzr-io
Copy link
Collaborator Author

btzr-io commented May 8, 2020

Also I think the icon 🔽 should be the same as the color of the text ?
Is not a good contrast of the dark theme imo...

new_menu_channels

@@ -38,28 +38,26 @@ function ChannelSelector(props: Props) {
}

return (
<div>
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I removed this because I don't think it's necessary to have, if that's not the case please let me know ✌️

@neb-b
Copy link

neb-b commented May 8, 2020

Thanks for fixing this!

@neb-b neb-b merged commit e75bd22 into master May 8, 2020
@neb-b neb-b deleted the fix-#2777 branch May 8, 2020 18:16
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.

None yet

2 participants