fix responsiveness issues for empty screen (#4389)

* fix responsiveness issues for empty screen

* fix test

* fix test
This commit is contained in:
Denys Vuika
2019-03-16 15:23:39 +00:00
committed by Eugenio Romano
parent fc2132e248
commit 94cd14bf71
8 changed files with 14 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
<div class="adf-empty-content">
<mat-icon class="adf-empty-content__icon">{{ icon }}</mat-icon>
<p class="adf-empty-content__title">{{ title | translate }}</p>
<p class="adf-empty-content__subtitle">{{ subtitle | translate }}</p>
<div class="adf-empty-content__title">{{ title | translate }}</div>
<div class="adf-empty-content__subtitle">{{ subtitle | translate }}</div>
<ng-content></ng-content>
</div>

View File

@@ -19,6 +19,9 @@
font-size: 18px;
font-weight: 600;
line-height: 0;
white-space: normal;
text-align: center;
margin: 10px 0;
}
&__subtitle,
@@ -26,6 +29,8 @@
font-size: 14px;
font-weight: 300;
line-height: inherit;
white-space: normal;
text-align: center;
}
}
}