Skip to content
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
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