web-feature: fit-content
The fit-content CSS keyword expands a box as needed to fit its contents until the maximum size is reached, preserving the content’s preferred aspect ratio.
The fit-content CSS keyword expands a box as needed to fit its contents until the maximum size is reached, preserving the content’s preferred aspect ratio.