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

[Bug] Variables inside braces break line #1664

Open
zenstorage opened this issue Sep 27, 2023 · 2 comments
Open

[Bug] Variables inside braces break line #1664

zenstorage opened this issue Sep 27, 2023 · 2 comments

Comments

@zenstorage
Copy link

Bug Report

Bug Description

When format/beauty the css, the variables inside the braces line break

Screenshots

before formatter
image

after formatter
image
image

CSS Code

{selectors} {
    background-color: rgba(0, 0, 0, 0.2) !important;
}

System Information

  • OS: Windows
  • Browser: Firefox 119
  • Stylus Version: 1.5.35

Additional Context

@tophf
Copy link
Member

tophf commented Sep 28, 2023

Yeah, it's known issue, our primitive beautifier doesn't work with advanced CSS syntax.

@zenstorage
Copy link
Author

thanks for reply, i understand, it's a pity

@zenstorage zenstorage reopened this Sep 28, 2023
@tophf tophf added the editor label Feb 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants