using max-content in minmax

Hi, I'm trying to achieve a grid using
grid-template-columns: repeat(auto-fit, minmax(max-content, 1fr));
Unfortunately max-content is not an allowed property here. Is there any known workaround to achive such behavior?
Was this page helpful?