summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2018-12-06 15:28:41 +0000
committerqsm-odoo <qsm@odoo.com>2018-12-06 15:38:16 +0000
commitfea93a9dd6154961f4dcdb652bc580ec0d6a83ef (patch)
tree79cf77ef319ee3de96f62a0de770c784411d6c8e /addons
parenta8fec3b5cdc57852fd99011fe75cb4081f49ed96 (diff)
[FIX] web: restore card-body border corners
Again (and definitely?) completes https://github.com/odoo/odoo/pull/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. closes odoo/odoo#29325
Diffstat (limited to 'addons')
-rw-r--r--addons/web/static/src/scss/bootstrap_review.scss7
1 files changed, 7 insertions, 0 deletions
diff --git a/addons/web/static/src/scss/bootstrap_review.scss b/addons/web/static/src/scss/bootstrap_review.scss
index 4b71db02fef..a310bb5ebd8 100644
--- a/addons/web/static/src/scss/bootstrap_review.scss
+++ b/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