padarom / vuepress-plugin-code-switcher

:arrows_clockwise: Component that adds synchronized multi-language code blocks to your Vuepress sites
https://code-switcher.padarom.xyz
MIT License
41 stars 6 forks source link

fix: Correct display property value in style attribute to resolve CSS… #15

Closed Hamza-Ikhlaq closed 1 month ago

Hamza-Ikhlaq commented 5 months ago

This pull request addresses a CSS parse error reported by the W3C Validator. The issue was related to an incorrect display property value in the style attribute. The fix ensures that the display property is properly set in the style attribute, resolving the parse error. This modification enhances the code switcher's compatibility with W3C standards.

ajimix commented 1 month ago

@padarom can you merge this one? I also need this fix

padarom commented 1 month ago

Thanks for the change and apologies for the delay. Somehow it slipped through my GitHub notifications, so thanks for the reminder as well.

I released this change in 2.0.1