sublime_valign icon indicating copy to clipboard operation
sublime_valign copied to clipboard

Alignment of css or scss

Open xypaul opened this issue 11 years ago • 2 comments

I like to have my css structure like this:

.grid                     { margin: 0 0 20px 0; }
.group:after, .grid:after { content: ""; display: table; clear: both; }

At the moment valign, aligns the code after { and not including the {. For example after valign it would look like this:

.grid{                      margin: 0 0 20px 0; }
.group:after, .grid:after { content: ""; display: table; clear: both; }

Would be really cool if that is possible. I'm sure others are experiencing simillar issues.

Thanks al lot :) :+1:

xypaul avatar Oct 17 '13 00:10 xypaul

Hey, apologies for the late reply. This should be something that's not too difficult to add, but unfortunately I just don't have time to do so at the moment. If you or anyone else would like to add this, I'd be happy to merge a pull request.

jarod2d avatar Oct 30 '13 07:10 jarod2d

Thanks for the reply :+1:

I will have a look at the code and see if I can do it myself. Cheers bro.

xypaul avatar Nov 05 '13 05:11 xypaul