Make dash fit content in a dynamic way

Number of issues, please fix