diff --git a/package.json b/package.json index d0af2f4..bdfbb8a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tp/tp-popup", - "version": "1.2.0", + "version": "1.3.0", "description": "", "main": "tp-popup.js", "scripts": { diff --git a/tp-popup-menu-item.js b/tp-popup-menu-item.js index 2c04abc..89ef611 100644 --- a/tp-popup-menu-item.js +++ b/tp-popup-menu-item.js @@ -1,6 +1,6 @@ /** @license -Copyright (c) 2024 trading_peter +Copyright (c) 2026 trading_peter This program is available under Apache License Version 2.0 */ @@ -30,6 +30,10 @@ class TpPopupMenuItem extends LitElement { color: var(--tp-popup-menu-item-color, #000); background: var(--tp-popup-menu-item-bg, transparent); } + + .wrap[noicon] { + grid-template-columns: 1fr; + } ` ]; } @@ -38,7 +42,7 @@ class TpPopupMenuItem extends LitElement { const { icon } = this; return html` -