been dealing with some nasty layout shifts because of long urls in my footer lately. i've started using the
min-content value on the width property whenever i have a single element that just won't behave. it forces the box to shrink to the smallest possible width without breaking the whole grid row, so it's basically
the only way to stop text from bleeding out of its container ⚡
.footer-link {width: min-content;overflow: hidden;text-overflow: ellipsis;}does anyone actually use max-content for this or is it just asking for trouble?