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

[MM-59344] Use SVG icons for better positioning #852

Merged
merged 2 commits into from
Sep 17, 2024
Merged

[MM-59344] Use SVG icons for better positioning #852

merged 2 commits into from
Sep 17, 2024

Conversation

streamer45
Copy link
Collaborator

Summary

Fixing some alignment issues by using uncropped SVG icons.

Ticket Link

https://mattermost.atlassian.net/browse/MM-59344

@streamer45 streamer45 added the 2: Dev Review Requires review by a core committer label Aug 21, 2024
@streamer45 streamer45 requested a review from cpoile August 21, 2024 21:46
@streamer45 streamer45 self-assigned this Aug 21, 2024
@streamer45 streamer45 added this to the v1.1.0 / MM v10.1 milestone Aug 21, 2024
Copy link
Member

@cpoile cpoile left a comment

Choose a reason for hiding this comment

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

Nice! It's strange -- I thought the minus circle outline icon looked more vertically centered than that, this is much better.

<CompassIcon icon={'microphone-off'}/>
<MutedIcon
fill='var(--button-bg)'
style={{width: '12px', height: '12px'}}
Copy link
Member

Choose a reason for hiding this comment

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

Would it be better to add a size attribute (e.g. size=12) to the MutedIcon component (and the others) to avoid having to inline a cumbersome style object?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We can look into that. Not a huge deal either way tbh

@cpoile cpoile added 3: Reviews Complete All reviewers have approved the pull request and removed 2: Dev Review Requires review by a core committer labels Sep 5, 2024
@streamer45 streamer45 merged commit 7b3c872 into main Sep 17, 2024
19 checks passed
@streamer45 streamer45 deleted the MM-59344 branch September 17, 2024 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3: Reviews Complete All reviewers have approved the pull request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants