Skip to content

Commit 97387c9

Browse files
author
bootstrap-vue-bot
committed
fix fieldset layout bug
1 parent f3e6bcf commit 97387c9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

components/form-fieldset.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
return this.state ? `has-${this.state}` : '';
2222
},
2323
labelLayout() {
24-
return this.horizontal ? 'col-sm-' + this.labelSize : 'col-sm-12' + (12 - this.labelSize);
24+
return this.horizontal ? ('col-sm-' + this.labelSize) : ('col-sm-' + (12 - this.labelSize));
2525
},
2626
inputLayout() {
27-
return this.horizontal ? 'col-sm-' + (12 - this.labelSize) : 'col-sm-' + this.labelSize;
27+
return this.horizontal ? ('col-sm-' + (12 - this.labelSize)) : ('col-sm-' + this.labelSize);
2828
}
2929
},
3030
props: {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bootstrap-vue",
3-
"version": "0.9.4",
3+
"version": "0.9.5",
44
"description": "Bootstrap 4 Components for Vue.js 2",
55
"main": "dist/bootstrap-vue.common.js",
66
"license": "MIT",

0 commit comments

Comments
 (0)