try this blog
Also, Select Layout and Apply below steps
Select remove container and press ok.
Republish and see, how your format looks like.
Removing containers will remove entire sections of the dashboard. What I want is to ensure that the Dashboard layout I see within the Desktop version is published on the Tableau Server almost identical in the dimensions. I am publishing using the automatic layout so please advise on better publishing formats.
Also, blog submitted contains high level information about sizing; however, it does not address variances between desktop and server when publishing using automatic view.
Actually, tableau have some know issues with formatting from Tableau to Server when we publish. To come out of those fit blocks, we are doing some alternative adjustment for formatting. Your right, containers will get rigid of this.