Skip to content
Snippets Groups Projects
Commit 47017866 authored by Hamza HRAMCHI's avatar Hamza HRAMCHI
Browse files

FEAT #15550 TIME 0:10 fix css

parent 2519251c
No related branches found
No related tags found
No related merge requests found
......@@ -112,7 +112,7 @@
{{docList[currentDoc].title}}
</div>
<div class="page-info-page" (click)="openSelect($event)">{{'lang.page' | translate}} {{ pageNum }} / {{ totalPages }}</div>
<ion-select interface="popover" [interfaceOptions]="{cssClass: 'popover-class'}" style="max-height: 100%;" #pagesList (ionChange)='goTo($event.target.value)' hidden="true">
<ion-select interface="popover" [interfaceOptions]="{cssClass : this.totalPages > 10 ? 'popover-class' : 'custom-popover-class'}" style="max-height: 100%;" #pagesList (ionChange)='goTo($event.target.value)' hidden="true">
<ion-select-option *ngFor="let page of pagesArray(this.totalPages);let i=index" [value]="page" [disabled]="i+1 === pageNum">{{ i + 1 }}</ion-select-option>
</ion-select>
</section>
......
......@@ -397,8 +397,15 @@ button.disabled {
}
::ng-deep .popover-class {
.popover-content{
height: 50%;
.popover-content{
height: 50%;
top: 50px;
}
}
::ng-deep .custom-popover-class {
.popover-class {
height: 10%;
top: 50px;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment