You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a button in a Nuxt.js project.
Add text to the button.
Try to center the text using text-align: center or margin: auto.
Observe that the text does not center properly.
Switch to using display: flex; justify-content: center; align-items: center; and observe that the text centers correctly.
Description
I'm experiencing an issue where the text inside a button only centers correctly when using flexbox. When using traditional methods like text-align: center or margin: auto, the text does not align properly.
Additional context
Logs
The text was updated successfully, but these errors were encountered:
Environment
v22.12.0
v3.0.0-alpha.12
[email protected]
Is this bug related to Nuxt or Vue?
Nuxt
Version
v3.0.0-alpha.12
Reproduction
Steps to Reproduce
Description
I'm experiencing an issue where the text inside a button only centers correctly when using flexbox. When using traditional methods like text-align: center or margin: auto, the text does not align properly.
Additional context
Logs
The text was updated successfully, but these errors were encountered: