Add css part

This commit is contained in:
trading_peter 2024-08-04 22:55:14 +02:00
parent 65f1e6808e
commit 99468efa3f
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@tp/tp-tabs",
"version": "1.1.0",
"version": "1.2.0",
"description": "",
"main": "tp-tabs.js",
"scripts": {

View File

@ -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;
}