We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59d7019 commit 0e318f4Copy full SHA for 0e318f4
src/components/layout/container.js
@@ -9,6 +9,11 @@ export const props = {
9
fluid: {
10
type: Boolean,
11
default: false
12
+ },
13
+ breakpoint: {
14
+ // New in Bootstrap v4.4.x
15
+ type: String,
16
+ default: null
17
}
18
19
@@ -22,8 +27,9 @@ export const BContainer = /*#__PURE__*/ Vue.extend({
22
27
props.tag,
23
28
mergeData(data, {
24
29
class: {
25
- container: !props.fluid,
26
- 'container-fluid': props.fluid
30
+ container: !props.fluid && !props.breakpoint,
31
+ 'container-fluid': props.fluid && !props.breakpoint,
32
+ [`container-${props.breakpoint}`]: !!props.breakpoint
33
34
}),
35
children
0 commit comments