fix: Uses label component for add label button (#2337)

* fix: Uses label component for add label button

* Use button instead of span
This commit is contained in:
Nithin David Thomas
2021-05-27 08:24:29 +05:30
committed by GitHub
parent 9ffdb0ec70
commit 9c555e70c9
2 changed files with 21 additions and 17 deletions

View File

@@ -52,7 +52,11 @@ export default {
},
labelStyle() {
if (this.bgColor) {
return { background: this.bgColor, color: this.textColor };
return {
background: this.bgColor,
color: this.textColor,
border: `1px solid ${this.bgColor}`,
};
}
return {};
},