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: remove max-width to fix uncentered text #385

Conversation

chaiwattsw
Copy link
Contributor

@chaiwattsw chaiwattsw commented Jul 30, 2022

Link to relevant issue

This pull request resolves #384

Test

set width of div to 500px then set vs-code button width to 100%

Extension Development Host  Component Gallery - Visual Studio Code

Description of changes

removed max-width in button style to fix uncentered text/icons when width is greater than 300px

@daviddossett daviddossett merged commit 4b53d38 into microsoft:main Aug 1, 2022
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.

Uncentered text/icons when vscode-button has a width greater than 300px
2 participants