Browse files

[FIX] web: restore card-body border corners

Again (and definitely?) completes #29253

As the mentioned PR forces a background on card bodies, that background
went over the card border corners as those are rounded. This commit
fixes that by adding the correct border radius on card bodies, the same
way bootstrap does it by default for card headers and card footers.
  • Loading branch information...
qsm-odoo committed Dec 6, 2018
1 parent 2460972 commit 003d0ddff99c8050a6ecfab16660ee65085576b6
Showing with 7 additions and 0 deletions.
  1. +7 −0 addons/web/static/src/scss/bootstrap_review.scss
@@ -23,6 +23,13 @@
// will use the color of a default card background with a light opacity.
// Limitation: bg-* utilities cannot be used on card-body elements anymore.
@include o-bg-color(rgba($card-bg, $o-card-body-bg-opacity));
&:first-child {
@include border-top-radius($card-inner-border-radius);
&:last-child {
@include border-bottom-radius($card-inner-border-radius);
// Modify modals so that their scrollable element is the modal-body (except in

0 comments on commit 003d0dd

Please sign in to comment.