[FIX] website: don't add top on bottom popup to prevent offscreen
Since 6ef622772f, all modal have top property set. But since modals can be
set as bottom modal, that top margin will make those go offscreen.
closes odoo/odoo#63582
X-original-commit: 1f365c63cf5dd8b5038a6b1b9839fb086a5871e1
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
This commit is contained in:
@@ -88,7 +88,7 @@ $-seen-urls: ();
|
||||
|
||||
#wrapwrap {
|
||||
// When the modal is in #wrapwrap, position top should be size of the navbar
|
||||
.modal {
|
||||
.modal:not(.s_popup_bottom) {
|
||||
top: $o-navbar-height;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user