Don’t know how/why you got this, but this code is invalid and the reason why Pinegrow do not recognize it correctly!
.body {
};
}
Change it to this, to make it valid (what you might already know):
.body {
}
The warning “classes without rules: body” shall disappear!
I reproduced the steps you described, and Pinegrow creates this for me which is correct and valid.
.body {
}
I don’t know why it went wrong with you! Maybe there is something wrong with other rules in your CSS file, and you have a } or { too much or is missing somewhere.
Maybe need to “refresh” or “reload” the CSS file, to show the changes.