openstyles/stylus

[Bug] Variables inside braces break line

Open

#1,664 opened on Sep 27, 2023

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

Repository metrics

Stars
 (4,893 stars)
PR merge metrics
 (Avg merge 7h 40m) (1 merged PR in 30d)

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