From dd93bf81bae420fe8e0d5ab81abf12f5da3970b8 Mon Sep 17 00:00:00 2001 From: Elsio Sanchez <45974454+elsiosanchez@users.noreply.github.com> Date: Tue, 27 Apr 2021 08:51:36 -0400 Subject: [PATCH] scroll in context menu (#785) --- .../ContextMenu/contextMenuDesktop.vue | 94 ++++++++++--------- 1 file changed, 49 insertions(+), 45 deletions(-) diff --git a/src/components/ADempiere/ContextMenu/contextMenuDesktop.vue b/src/components/ADempiere/ContextMenu/contextMenuDesktop.vue index 1885faa7..b8bb9bc2 100644 --- a/src/components/ADempiere/ContextMenu/contextMenuDesktop.vue +++ b/src/components/ADempiere/ContextMenu/contextMenuDesktop.vue @@ -127,30 +127,32 @@ {{ $t('components.contextMenuRelations') }} - - - - + + + + + + + + + + {{ relation.meta.title }} + + + + {{ relation.meta.description }} + + - - - - {{ relation.meta.title }} - - - - {{ relation.meta.description }} - - - - + + @@ -158,27 +160,29 @@ {{ $t('components.contextMenuReferences') }} - - - - - - {{ reference.displayName }} - - - - {{ $t('data.noDescription') }} - + + + + + + + {{ reference.displayName }} + + + + {{ $t('data.noDescription') }} + + - - + + @@ -365,7 +369,7 @@ export default { left: 0; z-index: 10; padding: 10px 0; - margin: 5px 0; + margin: 0px 0; background-color: #FFFFFF; border: 1px solid #e6ebf5; border-radius: 4px; @@ -373,7 +377,7 @@ export default { box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1); max-height: 300px; max-width: 220px; - overflow: auto; + overflow: hidden; } .el-dropdown-menu--mini .el-dropdown-menu__item { line-height: 14px;
+ {{ relation.meta.description }} +
- {{ relation.meta.description }} -
- {{ $t('data.noDescription') }} -
+ {{ $t('data.noDescription') }} +