stylelint-config-recess-order icon indicating copy to clipboard operation
stylelint-config-recess-order copied to clipboard

Order of `-block` and `-inline` properties is inconsistent

Open stormwarning opened this issue 5 months ago • 2 comments

I've realised while going through the current list of properties in preparation for the updated grouping that logical properties aren't in a consistent order.

It seems to me that properties where the cardinal properties involve top, right, bottom, and left should be sorted -block > -inline. Properties with cardinal directions of x and y for example, should be sorted -inline > -block, since this is the order x and y axes are usually described.

Or maybe that's too Anglo-centric and it should just be -block > -inline for everything? Open to thoughts & opinions.

stormwarning avatar Sep 02 '24 17:09 stormwarning