amend some issues and change texts
This commit is contained in:
@@ -18,15 +18,15 @@ export default {
|
||||
},
|
||||
size: {
|
||||
type: String,
|
||||
default: "lg",
|
||||
default: "md",
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
buttonClasses() {
|
||||
return {
|
||||
"px-3.5 py-2 gap-x-2 text-sm": this.size === "sm",
|
||||
"px-4 py-2.5 gap-x-2 text-sm": this.size === "md",
|
||||
"px-6 py-4 gap-x-1 text-md": this.size === "lg",
|
||||
"px-5 py-2.5 gap-x-2 text-sm": this.size === "md",
|
||||
"px-6 py-4 gap-x-1 text-base": this.size === "lg",
|
||||
|
||||
"bg-button hover:bg-button-hover text-white rounded-xl shadow-button":
|
||||
this.color === "button" && !this.disabled,
|
||||
|
||||
Reference in New Issue
Block a user