Skip to content

Commit

Permalink
fix(content/entry): limit dropdown height and all a vertical scroll S…
Browse files Browse the repository at this point in the history
…UP-40363
  • Loading branch information
amirch1 committed Apr 30, 2024
1 parent 9802c37 commit 757e64f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<k-area-blocker [showLoader]="_widgetService.showSectionLoader" [message]="_widgetService.sectionBlockerMessage"
[bodyScroll]="true">
<div class="jumpTo" *ngIf="_jumpToMenu.length > 2">
<p-menu #menu [popup]="true" [model]="_jumpToMenu" [appendTo]="'body'" kMenuCloseOnScroll [style]="{'width': '220px', 'overflow-x': 'hidden'}"></p-menu>
<p-menu #menu [popup]="true" [model]="_jumpToMenu" [appendTo]="'body'" kMenuCloseOnScroll [style]="{'width': '220px', 'overflow-x': 'hidden', 'max-height': '400px', 'overflow-y': 'auto'}"></p-menu>
<button type="button" class="kButtonDefault" pButton icon="kIcondropdown_arrow_bottom" iconPos="right"
label="{{'applications.content.entryDetails.metadata.jumpTo' | translate}}"
(click)="menu.toggle($event)"></button>
Expand Down

0 comments on commit 757e64f

Please sign in to comment.