Sublime Forum

Why is the auto-fit property not being recognized?

#1

When I try to use the auto-fit property, Sublime fails to recognize it? A property when written correctly turns blue, however, with auto-fit it remains white & unresponsive. This is the same with the auto-fill property as well. I’ve tried the same code in other text editors and it works fine. Why is that?
Below is my code:

.gallery-container {
display: grid;
grid-template-columns: repeat (auto-fit, minmax(300px, 1fr));
grid-gap: 0px;
grid-column-gap: 0;
grid-row-gap: 0;
padding-bottom: 50px;
margin-bottom: 50px;
}

0 Likes

#2

The best thing would be to submit an issue at https://github.com/sublimehq/Packages/issues.

0 Likes