question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

New option: Space between sort groups

See original GitHub issue

Hello, Is it possible to remove the new-line separator between sort groups? For example, because display and vertical-align are in different groups, they are separated by a new line. Boo!

Ah, and is there an easy way to move a property from one group to another without defining the entire sort array with the change? E.g. I want to have vertical-align under display.

Thanks.

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:46 (7 by maintainers)

github_iconTop GitHub Comments

5reactions
Francisccommented, Oct 6, 2014

Bach… (and I don’t mean the composer) There’s a ton of space-after-*, space-before-* configs, maybe it would be a good idea to add this as well. e.g. space-after-sort-group etc.

2reactions
alexanderkramcommented, Jul 18, 2017

I don’t want a space between my includes and properties. So i tried: "sort-order": ["$include", "..."], "sort-order-fallback": "abc"

Insert:

my-component {
 
  color: black;
  background-color: white;
   @include my-mixin();
}

Outcome:

my-component {
  background-color: white;
  color: black;
  @include my-mixin();
}

What i expected:

my-component {
  @include my-mixin();
  background-color: white;
  color: black;
}

I tried also: "sort-order": ["$include"], "sort-order-fallback": "abc"

Outcome:

my-component {
  @include my-mixin();

  background-color: white;
  color: black;
}

Please help to remove this ugly space between my includes and properties.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Sort groups and keep spaces - excel - Stack Overflow
I'm looking for help on a code where the end user hits a button and it sorts the data, but keeps the "groups"...
Read more >
Understanding Sorting and Grouping
Let's sort by putting the courses in ascending order. To do this, we'll have to access the Sorts menu, located in the Report...
Read more >
Sort and group items in the Final Cut Pro browser
Click the Group By pop-up menu and choose Ascending, then click the pop-up menu again and choose None. Click the Sort By pop-up...
Read more >
Arrange, group, and distribute components - Looker Studio Help
Use the distribution options to adjust the amount of space vertically and horizontally between 3 or more components.
Read more >
Create a grouped or summary report - Microsoft Support
Right click a column on which you want to group or sort, and then click Group On [field name] or click one of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found