Skip to content
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

Indentation Pullback of First Property #17

Open
chriscoyier opened this issue Feb 22, 2024 · 0 comments
Open

Indentation Pullback of First Property #17

chriscoyier opened this issue Feb 22, 2024 · 0 comments

Comments

@chriscoyier
Copy link

If you have this:

.image-container
  display grid
    grid-template-columns repeat(3, 1fr)
  grid-template-rows repeat(3, 1fr)

The output is exactly the same. It's probably not what the author meant to do, but it makes sense that it's left alone.

But if this is done, where the first line is indented:

.image-container
    display grid
  grid-template-columns repeat(3, 1fr)
  grid-template-rows repeat(3, 1fr)

The output is:

.image-container
  display grid
grid-template-columns repeat(3
1fr)
  grid-template-rows repeat(3, 1fr)

Which pulls the first two lines in one indentation, which doesn't seem right. Note the line-break between 3 and 1fr and removed comma as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant