openstyles/stylus

[Bug] Variables inside braces break line

Open

#1664 opened on Sep 27, 2023

View on GitHub
 (2 comments) (0 reactions) (0 assignees)JavaScript (4,893 stars) (303 forks)batch import
bugeditorexternalhelp wanted

Description

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

Contributor guide