[FIX] website: fix popup height

- The modal content of the popup snippet had a maximum height of 100%
because of a global rule on modals. But, here, the scrollable element
is not the modal so we dont want this rule.

- For the popup to be scrolled correctly we also had to remove the
rule that adds a fixed 100% height on modal-dialog and we added a
min-height of 100% to correctly display the popup in the middle
position.

Part of https://github.com/odoo/odoo/pull/61998
task-2312878

X-original-commit: 9cd8c15ed22e3033c654fcfa28f76b79083dcf98
This commit is contained in:
Benjamin Vray
2021-01-27 17:48:22 +00:00
committed by qsm-odoo
parent a9eb4ca9ac
commit 9e01297c67
@@ -1,11 +1,17 @@
.s_popup[data-vcss='001'] {
.modal-content {
min-height: $font-size-lg * 2;
max-height: none;
border: 0;
border-radius: 0;
box-shadow: $modal-content-box-shadow-sm-up;
}
.modal-dialog {
height: auto;
min-height: 100%;
}
// Close icon
.s_popup_close {
z-index: $zindex-modal;