From 9d45f7811e1d1525346c317e45df6f2f12215831 Mon Sep 17 00:00:00 2001 From: TRP <83850231+trp02@users.noreply.github.com> Date: Thu, 4 Apr 2024 09:55:39 -0400 Subject: [PATCH] adjust window size for scroll (#4792) related to #4749. Adjusted the max height for window so that it cuts the last option a little. I wanted to test the menu from the second pic in the issue with the multi select option but could not figure out where it was in the application. --------- Co-authored-by: Lucas Bordeau --- .../layout/dropdown/components/DropdownMenuItemsContainer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuItemsContainer.tsx b/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuItemsContainer.tsx index 43da12e60..b0f4ac40e 100644 --- a/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuItemsContainer.tsx +++ b/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenuItemsContainer.tsx @@ -13,7 +13,7 @@ const StyledDropdownMenuItemsExternalContainer = styled.div<{ flex-direction: column; gap: 2px; height: 100%; - max-height: ${({ hasMaxHeight }) => (hasMaxHeight ? '180px' : 'none')}; + max-height: ${({ hasMaxHeight }) => (hasMaxHeight ? '188px' : 'none')}; overflow-y: auto; padding: var(--padding);