diff --git a/package.json b/package.json index 80adfb0..8071847 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tp/tp-tabs", - "version": "1.1.0", + "version": "1.2.0", "description": "", "main": "tp-tabs.js", "scripts": { diff --git a/tp-tabs.js b/tp-tabs.js index c3ccc92..8c2b6e8 100644 --- a/tp-tabs.js +++ b/tp-tabs.js @@ -17,11 +17,13 @@ class TpTabs extends LitElement { :host([orientation="vertical"]) .tabs { flex-direction: column; } + .tabs { display: flex; flex-direction: row; } - .tab { + + slot::slotted(.tab) { cursor: pointer; padding: 8px; }