Browse Source

button improvements

pull/11188/head
ThingsBoard 2 years ago
parent
commit
cd62960ec3
  1. 2
      ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-statistics.component.html
  2. 4
      ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-statistics.component.scss
  3. 3
      ui-ngx/src/styles.scss

2
ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-statistics.component.html

@ -32,7 +32,7 @@
*ngIf="!statisticsKeys.length && !commands.length">
{{ 'gateway.statistics.statistic-commands-empty' | translate }}
</mat-error>
<button mat-flat-button class="mat-mdc-icon-button tb-mat-185" color="primary" (click)="navigateToStatistics()">
<button mat-flat-button class="mat-mdc-button" color="primary" (click)="navigateToStatistics()">
{{ 'gateway.statistics.statistics-button' | translate }}
</button>
<mat-form-field class="mat-block" *ngIf="commandObj">

4
ui-ngx/src/app/modules/home/components/widget/lib/gateway/gateway-statistics.component.scss

@ -36,8 +36,8 @@
}
}
.mat-mdc-icon-button {
height: 40px;
.mat-mdc-button {
width: 185px;
margin-top: 22px;
}

3
ui-ngx/src/styles.scss

@ -941,9 +941,6 @@ mat-icon {
&.tb-mat-96 {
@include tb-mat-icon-button-size(96);
}
&.tb-mat-185 {
@include tb-mat-icon-button-size(185);
}
}
.mat-mdc-snack-bar-container {

Loading…
Cancel
Save