Skip to content

Commit

Permalink
chore: clean-up cz-button style and code
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasverleye committed Feb 12, 2025
1 parent 5d7a34b commit c112681
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion packages/button/src/lib/button.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ class CZButton extends CraftzingElement implements CZButtonProps {

render() {
const tag = this.href ? literal`a` : literal`button`;
console.log(this.disabled);

return html`<${tag}
${spread(this.undeclaredAttributes)}
Expand Down
4 changes: 1 addition & 3 deletions packages/button/src/lib/button.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@
cursor: pointer;
text-decoration: none;

--btn-transition: all 0.2s ease-in-out 0s;
transition: var(--btn-transition);

transition: all 0.2s ease-in-out 0s;
border: 0.125rem solid transparent;

&:active {
Expand Down

0 comments on commit c112681

Please sign in to comment.