How to avoid breaking the HTML structure when using Angular?

the code is as follows:

   destroyed the html structure, resulting in style errors, how can I modify so that the outermost div does not occupy the html tag? 

Mar.03,2021

  ng-content/ng-container  

Menu