We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The grid shorthand property does not preserve newlines when formatted.
Likely the same issue as #1817, but PR #2018 does not seem to take into account the implicit shorthand.
The code looked like this before beautification:
grid: "header" auto "main" 1fr "footer" auto;
The code should have looked like this after beautification:
The code actually looked like this after beautification:
body { grid: "test test test" 1fr ". . ." 1fr / 1fr 1fr; grid-template: "test test test" 1fr ". . ." 1fr / 1fr 1fr; }
grid
grid-template
OS: Arch Linux GNOME Wayland 45.1, Kernel 6.5.9 Application: Beautifier.io and Visual Studio Code
Beautifier.io defaults
{ "indent_size": "4", "indent_char": " ", "max_preserve_newlines": "5", "preserve_newlines": true, "keep_array_indentation": false, "break_chained_methods": false, "indent_scripts": "normal", "brace_style": "collapse", "space_before_conditional": true, "unescape_strings": false, "jslint_happy": false, "end_with_newline": false, "wrap_line_length": "0", "indent_inner_html": false, "comma_first": false, "e4x": false, "indent_empty_lines": false }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
The grid shorthand property does not preserve newlines when formatted.
Likely the same issue as #1817, but PR #2018 does not seem to take into account the implicit shorthand.
Input
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
and untouchedgrid-template
Environment
OS: Arch Linux GNOME Wayland 45.1, Kernel 6.5.9
Application: Beautifier.io and Visual Studio Code
Settings
Beautifier.io defaults
The text was updated successfully, but these errors were encountered: