mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Fix unknown style (#5810)
* fix unknown style * missing var * remove delete because there is already delete site * fix test
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<div class="adf-viewer__unknown-format-view">
|
||||
<div>
|
||||
<mat-icon class="icon">error</mat-icon>
|
||||
<div class="label">{{ 'ADF_VIEWER.UNKNOWN_FORMAT' | translate }}</div>
|
||||
<div class="adf-viewer__unknown-label">{{ 'ADF_VIEWER.UNKNOWN_FORMAT' | translate }}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -1,8 +1,18 @@
|
||||
.adf-viewer__unknown-format-view {
|
||||
height: 90vh;
|
||||
text-align: center;
|
||||
display: flex;
|
||||
flex: 1;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
@import '~@angular/material/theming';
|
||||
|
||||
@mixin adf-unknown-viewer-theme($theme) {
|
||||
$foreground: map-get($theme, foreground);
|
||||
|
||||
.adf-viewer__unknown-format-view {
|
||||
height: 90vh;
|
||||
text-align: center;
|
||||
display: flex;
|
||||
flex: 1;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
|
||||
.adf-viewer__unknown-label {
|
||||
color: mat-color($foreground, text);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user