Skip to content

Conversation

AloisSeckar
Copy link
Contributor

Description of Problem

Recent update 8a4f627 introduced new button component in VitePress theme. CSS styles of this component are not scoped and since .container is used several other times, the style leaked:

image

It might not be apparent for page titles. But we spotted it out, because I added specific width in Czech translation. I thought it is only for the button, but it shifted whole layout badly....

Proposed Solution

I believe there was no intention to edit .container style globally and the simplilest solution is just to add scoped attribute into SecurityUpdateBtn.vue, which I think is also the recommended way of using styles in components to avoid such situations.

Additional Information

Copy link

netlify bot commented Jul 3, 2024

Deploy Preview for vuejs ready!

Name Link
🔨 Latest commit 8d98ec0
🔍 Latest deploy log https://app.netlify.com/sites/vuejs/deploys/66859f3dec657d0008d8d59d
😎 Deploy Preview https://deploy-preview-2918--vuejs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@NataliaTepluhina NataliaTepluhina merged commit 5a02126 into vuejs:main Jul 9, 2024
@AloisSeckar AloisSeckar mentioned this pull request Jul 18, 2024
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.

2 participants