Make sure .wrap takes full height of the button

This commit is contained in:
2026-04-01 12:13:38 +02:00
parent 7878a60bf8
commit eb45539ad4
2 changed files with 3 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "@tp/tp-button", "name": "@tp/tp-button",
"version": "1.3.2", "version": "1.3.3",
"description": "", "description": "",
"main": "tp-button.js", "main": "tp-button.js",
"scripts": { "scripts": {

View File

@@ -68,6 +68,8 @@ class TpButton extends EventHelpers(LitElement) {
box-shadow: var(--tp-button-box-shadow, none); box-shadow: var(--tp-button-box-shadow, none);
transition: background var(--tp-button-animation-duration, 300ms) ease-in-out, box-shadow var(--tp-button-animation-duration, 300ms) ease-in-out; transition: background var(--tp-button-animation-duration, 300ms) ease-in-out, box-shadow var(--tp-button-animation-duration, 300ms) ease-in-out;
cursor: pointer; cursor: pointer;
height: 100%;
box-sizing: border-box;
} }
.wrap.success-bg { .wrap.success-bg {