From e11e666f1ffed0e8120feec8f9a38088b3636a51 Mon Sep 17 00:00:00 2001 From: "tiago.kayaya" Date: Fri, 20 Aug 2021 15:27:36 +0100 Subject: [PATCH] resize popover to dinamic height --- src/theme/variables.scss | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/src/theme/variables.scss b/src/theme/variables.scss index eb0d3b881..b79a3d724 100644 --- a/src/theme/variables.scss +++ b/src/theme/variables.scss @@ -318,27 +318,21 @@ $app-theme: mat-light-theme(( left: 0 !important; bottom: 0 !important; right: 0 !important; - top: calc(100% - 160px) !important; - max-height: 160px; - min-height: 160px; + top: unset !important; } .messages-options .popover-content{ width: 100% !important; left: 0 !important; bottom: 0 !important; right: 0 !important; - top: calc(100% - 90px) !important; - max-height: 90px; - min-height: 90px; + top: unset !important; } .events-options .popover-content{ width: 100% !important; left: 0 !important; bottom: 0 !important; right: 0 !important; - top: calc(100% - 190px) !important; - max-height: 190px; - min-height: 190px; + top: unset !important; } .exp-options .popover-content{ width: 100% !important; @@ -361,18 +355,14 @@ $app-theme: mat-light-theme(( left: 0 !important; bottom: 0 !important; right: 0 !important; - top: calc(100% - 210px) !important; - max-height: 210px; - min-height: 210px; + top: unset !important; } .group-duration .popover-content{ width: 100% !important; left: 0 !important; bottom: 0 !important; right: 0 !important; - top: calc(100% - 500px) !important; - max-height: 500px; - min-height: 500px; + top: unset !important; } /* .event-actions-popover ion-list{