aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2016-03-21 22:37:59 -0700
committerMark Otto <[email protected]>2016-03-21 22:37:59 -0700
commitecb84d20062dfefe972078f559778815bef77c55 (patch)
tree1ea3109a91850dd826eb27bdc8a57ab9526a7b6f
parenta277c1221440df30fcb764d628296cf14fba687c (diff)
parent2eeef6d19f2b29428580a335c719d7e5fd3cb8b2 (diff)
downloadbootstrap-ecb84d20062dfefe972078f559778815bef77c55.tar.xz
bootstrap-ecb84d20062dfefe972078f559778815bef77c55.zip
Merge pull request #19473 from neilhem/remove-empty-if
remove empty sass if directives
-rw-r--r--scss/_input-group.scss8
1 files changed, 2 insertions, 6 deletions
diff --git a/scss/_input-group.scss b/scss/_input-group.scss
index 1c651d1eb..fff9cb560 100644
--- a/scss/_input-group.scss
+++ b/scss/_input-group.scss
@@ -40,9 +40,7 @@
.input-group-addon,
.input-group-btn,
.input-group .form-control {
- @if $enable-flex {
- // do nothing
- } @else {
+ @if not $enable-flex {
display: table-cell;
}
@@ -53,9 +51,7 @@
.input-group-addon,
.input-group-btn {
- @if $enable-flex {
- // do nothing
- } @else {
+ @if not $enable-flex {
width: 1%;
}
white-space: nowrap;