It's weird that CSS supports `width: fit-content` but `fit-content` cannot be used in functions, like `width: min(fit-content, 90vw)`.
In this case, `max-width` works as escape hatch. However, fit-content should just work in functions and `max-width` should be deprecated.
about 1 year ago