-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CSS Grid template formatting is broken when adding track size after line names #1817
Labels
Milestone
Comments
PeterShershov
changed the title
CSS Grid template formatting is broken when adding track size after line names.
CSS Grid template formatting is broken when adding track size after line names
Jul 16, 2020
@PeterShershov
As a short term work around, perhaps we could disable newline reformatting inside |
vote for the issue and subscribe to updates |
Same problem |
@zakharenkov @VladyslavG |
mhnaeem
added a commit
to mhnaeem/js-beautify
that referenced
this issue
Apr 7, 2022
…rts and if followed by a string lose formatting. Also add multiline support for grid-template property
Added PR for this issue 🙃 |
bitwiseman
added a commit
that referenced
this issue
Apr 7, 2022
Fix issue #1817 - grid-template property css
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
grid-template
gets formatted as one line when adding track sizes after line namesInput
The code looked like this before beautification:
Expected Output
The code should have looked like this after beautification:
Actual Output
The code actually looked like this after beautification:
Steps to Reproduce
grid-template
declaration in itAlso try it with a longer input:
The result looks like this:
Environment
OS: Windows
Settings
The text was updated successfully, but these errors were encountered: