diff options
| author | qsm-odoo <qsm@odoo.com> | 2019-01-07 13:14:45 +0000 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2019-01-09 14:03:48 +0000 |
| commit | f87e56c571438d8fa3e2a54939ab6b68937bf46a (patch) | |
| tree | ddc150f14b4cb85e9d82685118bcb79ce746e157 /addons/web/static/src | |
| parent | 63a636e6d96a75099fd0200c340934bcb4039f74 (diff) | |
[FIX] web, website: adapt accordion to bootstrap update
Some update to the accordion component made it incompatible with some of
our customization.
Diffstat (limited to 'addons/web/static/src')
| -rw-r--r-- | addons/web/static/src/scss/bootstrap_review.scss | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/addons/web/static/src/scss/bootstrap_review.scss b/addons/web/static/src/scss/bootstrap_review.scss index a310bb5ebd8..b55e454d723 100644 --- a/addons/web/static/src/scss/bootstrap_review.scss +++ b/addons/web/static/src/scss/bootstrap_review.scss @@ -31,6 +31,15 @@ @include border-bottom-radius($card-inner-border-radius); } } +.accordion { + .collapsing, .collapse.show { + > .card-body:first-child { + // Above background color would overflow on the card-header border + // without this + margin-top: $card-border-width; + } + } +} // Modify modals so that their scrollable element is the modal-body (except in // mobile). |
