[ADF-1418] Viewer enhancements (#2930)

* move navigation buttons to the header

* restrict file name to 35 characters

* remove wrong condition in template
This commit is contained in:
Denys Vuika
2018-02-12 13:57:53 +00:00
committed by Eugenio Romano
parent 3d19341c0d
commit 6072a987c9
3 changed files with 32 additions and 39 deletions

View File

@@ -11,30 +11,10 @@
.adf-viewer {
.navigate-before {
display: flex;
align-items: center;
justify-content: center;
order: 1;
padding-left: 2px;
padding-right: 4px;
background-color: mat-color($background, background);
}
&-main {
width: 0;
}
.navigate-next {
display: flex;
align-items: center;
justify-content: center;
order: 3;
padding-left: 4px;
padding-right: 2px;
background-color: mat-color($background, background);
}
&__mimeicon {
vertical-align: middle;
height: 18px;
@@ -55,6 +35,12 @@
font-weight: normal;
font-style: normal;
font-stretch: normal;
max-width: 35ch;
text-overflow: ellipsis;
overflow: hidden;
display: inline-block;
vertical-align: middle;
}
&-container {