fix(consentsoftware-cookieconsent): Fix transition property in consent button styles and add HTMLElementTagNameMap declaration for global interface.
This commit is contained in:
@ -8,6 +8,12 @@ import * as csInterfaces from '@consent.software/interfaces';
|
||||
import * as csWebclient from '@consent.software/webclient';
|
||||
import { delayFor } from '@push.rocks/smartdelay';
|
||||
|
||||
declare global {
|
||||
interface HTMLElementTagNameMap {
|
||||
'consentsoftware-cookieconsent': ConsentsoftwareCookieconsent;
|
||||
}
|
||||
}
|
||||
|
||||
@customElement('consentsoftware-cookieconsent')
|
||||
export class ConsentsoftwareCookieconsent extends LitElement {
|
||||
public static demo = () => html`<consentsoftware-cookieconsent></consentsoftware-cookieconsent>`;
|
||||
@ -168,7 +174,7 @@ export class ConsentsoftwareCookieconsent extends LitElement {
|
||||
line-height: 30px;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
transition: background 0.2s;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.consent-button:hover {
|
||||
|
Reference in New Issue
Block a user