Make sure .wrap takes full height of the button
This commit is contained in:
@@ -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": {
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user