Skip to content

Commit 78b2dba

Browse files
committed
fix(BPlaceholder): limit when both cols and width
1 parent 355b774 commit 78b2dba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/bootstrap-vue-3/src/components/BPlaceholder/BPlaceholder.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const colsString = computed<string | undefined>(() =>
3838
)
3939
4040
const classes = computed(() => ({
41-
[`col-${colsString.value}`]: colsString.value !== undefined,
41+
[`col-${colsString.value}`]: colsString.value !== undefined && widthString.value === undefined,
4242
[`bg-${props.variant}`]: props.variant !== undefined,
4343
[`placeholder-${props.size}`]: props.size !== undefined,
4444
[`placeholder-${props.animation}`]: props.animation !== undefined,

0 commit comments

Comments
 (0)