Currently working on an angular 9 app and I made some adjustments to my view by adding margin in order to shrink the size of the form.
<div class="row">
<div class="col-12 mb-4" *ngIf="!displayListCompanies; else companiesList">
<div class="card" style="min-height: 579px; margin-right: 200px; margin-left: 200px">
<div class="card-body justify-content-between align-items-center">
<div class=" company-welcome-logo">
</div>
<p class=" text-justify text-center font-weight-bold font-size-xlarge"><b>{{'company.welcome-abord' | translate}} {{ displayName }} !</b></p>
<p class=" text-justify text-center">{{'company.welcome-text1' | translate}} <br/> {{'company.welcome-text2' | translate}} </p>
<button class="btn btn-primary btn-lg btn-shadow align-items-center align-content" (click)="createCompany()">
{{ "company.create" | translate }}
</button>
</div>
</div>
</div>
<ng-template #companiesList>
Another magic element!
</ng-template>
</div>
<simple-notifications></simple-notifications>
https://i.sstatic.net/BNuGo.png
My goal is to maintain the margin on medium screens but remove it on smaller devices. I attempted to use bootstrap for this purpose without any luck. Any suggestions on how I can achieve this? Thank you in advance.