Make dash fit content in a dynamic way