From 42a9ab6349b9d57d2caa23f3df646707b470ab13 Mon Sep 17 00:00:00 2001 From: Lee Chase Date: Mon, 11 May 2020 16:28:03 +0100 Subject: [PATCH] fix: button snapshot (#897) Co-authored-by: Lee Chase --- packages/core/src/components/cv-button/cv-icon-button.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/src/components/cv-button/cv-icon-button.vue b/packages/core/src/components/cv-button/cv-icon-button.vue index c178d90fe..2a4e0a6e7 100644 --- a/packages/core/src/components/cv-button/cv-icon-button.vue +++ b/packages/core/src/components/cv-button/cv-icon-button.vue @@ -27,13 +27,13 @@ export default { }, computed: { buttonClasses() { - return `${this.buttonClassOpts({ iconOnly: true })} ${this.tipClasses}`; + return `${this.buttonClassOpts({ iconOnly: true })}${this.tipClasses}`; }, tipClasses() { const tipPosition = this.tipPosition || 'bottom'; const tipAlignment = this.tipAlignment || 'center'; if (this.label) { - return `${this.carbonPrefix}--tooltip__trigger ${this.carbonPrefix}--tooltip--a11y ${this.carbonPrefix}--tooltip--${tipPosition} ${this.carbonPrefix}--tooltip--align-${tipAlignment}`; + return ` ${this.carbonPrefix}--tooltip__trigger ${this.carbonPrefix}--tooltip--a11y ${this.carbonPrefix}--tooltip--${tipPosition} ${this.carbonPrefix}--tooltip--align-${tipAlignment}`; } else { return ''; }