Pages panel fix

This commit is contained in:
Adina Țeudan 2020-11-27 18:46:18 +02:00
parent cdb4b1b871
commit f1485b26c4
2 changed files with 3 additions and 8 deletions

View File

@ -104,7 +104,7 @@
#quickNavigation
(keydown)="preventArrowDefault($event)"
(keyup)="preventArrowDefault($event)"
[class.activePanel]="pagesPanelActive"
[class.active-panel]="pagesPanelActive"
class="pages"
tabindex="0"
>
@ -122,11 +122,10 @@
#annotationsElement
(keydown)="preventArrowDefault($event)"
(keyup)="preventArrowDefault($event)"
[class.activePanel]="!pagesPanelActive"
[class.active-panel]="!pagesPanelActive"
class="annotations"
tabindex="1"
>
<!-- <div *ngFor="let page of displayedPages">-->
<div attr.anotation-page-header="{{ activeViewerPage }}" class="page-separator">
<span *ngIf="!!activeViewerPage" class="all-caps-label"
><span translate="page"></span> {{ activeViewerPage }} - {{ displayedAnnotations[activeViewerPage]?.annotations?.length || 0 }}
@ -168,7 +167,6 @@
></redaction-annotation-actions>
</div>
</div>
<!-- </div>-->
</div>
</div>
</div>

View File

@ -58,16 +58,13 @@ redaction-pdf-viewer {
@include no-scroll-bar();
outline: none;
&.activePanel {
&.active-panel {
background-color: #fafafa;
}
}
.pages {
border-right: 1px solid $separator;
display: flex;
flex-direction: column;
align-items: center;
min-width: 61px;
}