From b09895b8b4463d127acea08eb2ef2281c08079ad Mon Sep 17 00:00:00 2001 From: Mark Stacey Date: Thu, 2 Apr 2020 13:37:46 -0300 Subject: [PATCH] Replace static popover height with responsive max-height (#8290) The height of the popover is now set to a maximum of 94% of the viewport height, rather than a static height of 564px. This setting ensures that the popover has a maximum height of exactly 564px in the popup, which matches the designs. However it is now able to shrink or grow to accommodate larger viewports or smaller popovers. --- ui/app/components/ui/popover/index.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/app/components/ui/popover/index.scss b/ui/app/components/ui/popover/index.scss index c5fd6547c..a552a6fe4 100644 --- a/ui/app/components/ui/popover/index.scss +++ b/ui/app/components/ui/popover/index.scss @@ -14,7 +14,7 @@ flex-direction: column; position: absolute; width: 328px; - height: 564px; + max-height: 94vh; box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.25); border-radius: 10px;