take into account % max-width for placeholder sizing