Fix button visibility issue
[src/xds/xds-agent.git] / webapp / src / app / pages / sdks / sdk-management / sdk-install.component.ts
index 1957c8b..68d87d1 100644 (file)
@@ -17,7 +17,6 @@
 */
 
 import { Component, OnInit, Input, ViewChild, AfterViewChecked, ElementRef } from '@angular/core';
-import { DomSanitizer } from '@angular/platform-browser';
 import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
 
 import { AlertService } from '../../../@core-xds/services/alert.service';
@@ -43,8 +42,8 @@ import 'rxjs/add/operator/bufferTime';
         <textarea rows="20" class="textarea-scroll" #scrollOutput [innerHtml]="installOutput"></textarea>
       </div>
       <div class="col-12 text-center">
-        <button type="button" class="btn" tabindex="1"
-        [ngClass]="(btnName=='Cancel')?'btn-default':'btn-primary'"
+        <button type="button" class="btn btn-md" tabindex="1"
+        [ngClass]="(btnName=='Cancel')?'btn-secondary':'btn-primary'"
         (click)="onBtnClick()">{{ btnName }}</button>
       </div>
     </div>
@@ -73,7 +72,6 @@ export class SdkInstallComponent implements OnInit {
 
   constructor(
     private modalRef: NgbActiveModal,
-    private sanitizer: DomSanitizer,
     private alert: AlertService,
     private sdkSvr: SdkService,
   ) { }