Iâd like it if the default behavior was to resize dynamically to the max-width of the container. Since you mention the current constraints are 220px to 520px (most likely design integrity related), perhaps it would just scale between those widths âif possibleâ, but otherwise just stick at those widths if the container is too small or too big.