diff --git a/addons/web/static/src/core/dialog/dialog.scss b/addons/web/static/src/core/dialog/dialog.scss index 18782781c07..429a11c6155 100644 --- a/addons/web/static/src/core/dialog/dialog.scss +++ b/addons/web/static/src/core/dialog/dialog.scss @@ -1,52 +1,7 @@ -.o_dialog { - > .modal { - display: block; - } -} - -.modal.o_technical_modal { - .modal-content { - border-radius: 0; - - .modal-header .modal-title { - word-break: break-word; - } - - .modal-footer { - flex-wrap: wrap; - text-align: left; - justify-content: flex-start; - - footer { - > :not(:first-child) { - margin-left: 0.25rem; - } - > :not(:last-child) { - margin-right: 0.25rem; - } - button { - margin-bottom: 0.5rem; - } - } - } - } - - @include media-breakpoint-up(sm) { - .modal-dialog .modal-content.o_dialog_error .modal-body { - overflow: visible; - display: flex; - flex-flow: column nowrap; - - > .alert, - > button { - flex: 0 0 auto; - } - - > .o_error_detail { - flex: 1 1 auto; - min-height: 0; - overflow: auto; - } - } - } +.modal.o_technical_modal .modal-footer { + gap: map-get($spacers, 1); + + button { + margin: 0; // Reset boostrap. + } } diff --git a/addons/web/static/src/core/dialog/dialog.xml b/addons/web/static/src/core/dialog/dialog.xml index 82a58ca57ec..8d38e572e64 100644 --- a/addons/web/static/src/core/dialog/dialog.xml +++ b/addons/web/static/src/core/dialog/dialog.xml @@ -3,7 +3,7 @@
-