Skip to content

Commit

Permalink
fix: tooltip on icon only button (#895)
Browse files Browse the repository at this point in the history
Co-authored-by: Lee Chase <lee.chase@uk.ibm.com>
  • Loading branch information
lee-chase and lee-chase authored May 11, 2020
1 parent fa5e590 commit a116424
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/core/src/components/cv-button/button-mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export default {
classes.push(`${carbonSettings.prefix}--btn--field`);
}

return classes;
return classes.join(' ');
};
},
},
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/components/cv-button/cv-icon-button.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default {
},
computed: {
buttonClasses() {
return this.buttonClassOpts({ iconOnly: true });
return `${this.buttonClassOpts({ iconOnly: true })} ${this.tipClasses}`;
},
tipClasses() {
const tipPosition = this.tipPosition || 'bottom';
Expand Down

0 comments on commit a116424

Please sign in to comment.