By default, Angular CLI creates components in an inline displayed mode(i.e, display:inline). But it is possible to create components with display: block style using displayBlock option:
ng generate component my-component --displayBlock
(OR) the option can be turned on by default in Angular.json with [email protected]/angular:component.displayBlock key value as true.
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.