diff --git a/src/components/Button.vue b/src/components/Button.vue index ebd3e46c..1cea2fcc 100644 --- a/src/components/Button.vue +++ b/src/components/Button.vue @@ -41,8 +41,8 @@ function handleClick(evt: MouseEvent) { :style="{ 'backgroundColor': color, 'color': textColor, - '--b-radius': round ? '50px' : '', - 'width': block ? '100%' : 'unset', + '--b-button-radius': round ? '50px' : '', + 'width': block ? '100%' : 'var(--b-button-width)', 'justifyContent': center ? 'center' : '' }" @click="handleClick" @@ -55,27 +55,28 @@ function handleClick(evt: MouseEvent) {