[FIX] website_event: modal_ticket_registration overflow
This commit handle an issue causing the registration inner elements to don't overflow as expected when multiple tickets are rendered on screen. Note: This could probably be improved by review the overall modal layout in order to make a different use of Bootstrap default classes. task-3718417 part of task-3698364 Part-of: odoo/odoo#152434
This commit is contained in:
@@ -70,6 +70,23 @@
|
||||
}
|
||||
}
|
||||
|
||||
#modal_ticket_registration {
|
||||
// Handle overflow behaviors.
|
||||
#registration_form, #o_wevent_tickets, #o_wevent_tickets_collapse {
|
||||
position: relative;
|
||||
flex: 1 1 auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
@include media-breakpoint-up(sm) {
|
||||
:not(.s_popup) > & {
|
||||
overflow: auto;
|
||||
min-height: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* EVENT PAGE VIEW
|
||||
*/
|
||||
|
||||
@@ -416,7 +416,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer flex-lg-row-reverse">
|
||||
<div class="modal-footer flex-lg-row-reverse border-top">
|
||||
<button type="button" class="btn btn-light" data-bs-dismiss="modal">Close</button>
|
||||
<button type="submit" class="btn btn-primary o_wait_lazy_js a-submit" disabled="" t-attf-id="#{event.id}">
|
||||
Register
|
||||
@@ -466,7 +466,7 @@
|
||||
</t>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer flex-lg-row-reverse">
|
||||
<div class="modal-footer flex-lg-row-reverse border-top">
|
||||
<button type="button" class="btn btn-light" data-bs-dismiss="modal">Close</button>
|
||||
<button type="submit" class="btn btn-primary o_wait_lazy_js a-submit" t-attf-id="#{event.id}" disabled="disabled">
|
||||
Register
|
||||
|
||||
Reference in New Issue
Block a user