summaryrefslogtreecommitdiff
path: root/addons/web/static
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web/static')
-rw-r--r--addons/web/static/src/scss/bootstrap_review.scss13
1 files changed, 10 insertions, 3 deletions
diff --git a/addons/web/static/src/scss/bootstrap_review.scss b/addons/web/static/src/scss/bootstrap_review.scss
index 75514a1065d..a196f3e228b 100644
--- a/addons/web/static/src/scss/bootstrap_review.scss
+++ b/addons/web/static/src/scss/bootstrap_review.scss
@@ -104,9 +104,16 @@
right: auto#{"/*rtl:ignore*/"};
}
-// Restore height to prevent flex to be ignored
-.input-group .form-control {
- height: initial;
+// Review input group: BS allows to control button and input dimensions
+// individually but fails to make input-group correctly in all cases (for some
+// strange reasons they made it work well for sm and lg but not for the normal
+// sizing).
+.input-group-prepend,
+.input-group-append {
+ > .btn {
+ @include button-size($input-padding-y, $input-padding-x, $input-font-size, $input-line-height, $input-border-radius);
+ border-width: $input-border-width;
+ }
}
// Review $link-decoration behavior