Add css part for dialog

This commit is contained in:
trading_peter 2022-03-17 11:47:07 +01:00
parent 70ec260914
commit c52a263dbf
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@tp/tp-dialog",
"version": "1.0.1",
"version": "1.0.2",
"description": "",
"main": "tp-dialog.js",
"scripts": {

View File

@ -50,7 +50,7 @@ class TpDialog extends EventHelpers(LitElement) {
render() {
const { showClose } = this;
return html`
<dialog>
<dialog part="dialog">
${showClose ? html`
<div class="close-icon">
<tp-icon .icon=${this.icon ? this.icon : TpDialog.closeIcon} dialog-dismiss></tp-icon>