Skip to content

Commit

Permalink
Limit height of the NcActions popover
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <jus@bitgrid.net>
  • Loading branch information
juliusknorr authored and raimund-schluessler committed Sep 5, 2022
1 parent 1738480 commit 1ada679
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/components/NcActions/NcActions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1177,5 +1177,7 @@ export default {
.v-popper--theme-dropdown.v-popper__popper.action-item__popper .v-popper__inner {
border-radius: var(--border-radius-large);
padding: 4px;
max-height: calc(100vh - 16px);
overflow: auto;
}
</style>
4 changes: 2 additions & 2 deletions src/components/NcAppNavigationItem/NcAppNavigationItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@ Just set the `pinned` prop.
<NcActions v-if="$slots.actions || (editable && !editingActive) || undo"
ref="actions"
class="app-navigation-entry__actions"
menu-align="right"
:container="'#' + id"
container="#app-navigation-vue"
boundaries-element="#content-vue"
:placement="menuPlacement"
:open="menuOpen"
:force-menu="forceMenu"
Expand Down

0 comments on commit 1ada679

Please sign in to comment.