Skip to content
Snippets Groups Projects
Commit 9cd8c15e authored by Benjamin Vray's avatar Benjamin Vray Committed by qsm-odoo
Browse files

[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
parent ac03898e
No related branches found
No related tags found
No related merge requests found
.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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment