Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Purpose
Proposing the removal of nested child divs in the css output as described in #75
Change Summary
I've changed the code box structure to reflect a closing of the parent div and line items for the children. Additionally, I have added HTML Encoded < and > characters to the HTML output, though I can make this an additional PR if we think it's scope creep :). I have also removed the 'child' CSS class from the children divs to pretty up the output now that the CSS isn't nested. The child class was adding 40px left padding to simulate indentation in the parent CSS.
Additional Information
An example of the output code would be:
Before:
After:
Additional Sceenshots of the before and after changes are attached! (Screenshots taken in Chrome v77.0.3865.90, with a res of 1920x920)
![Before_cssgridIssue75](https://user-images.githubusercontent.com/24568908/66066860-5b955580-e518-11e9-8c08-65a2bc82c016.PNG)
![After_cssgridIssue75](https://user-images.githubusercontent.com/24568908/66066869-5f28dc80-e518-11e9-8fe9-dc137d50aeb7.PNG)