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", "name": "@tp/tp-tabs",
"version": "1.1.0", "version": "1.2.0",
"description": "", "description": "",
"main": "tp-tabs.js", "main": "tp-tabs.js",
"scripts": { "scripts": {

View File

@ -17,11 +17,13 @@ class TpTabs extends LitElement {
:host([orientation="vertical"]) .tabs { :host([orientation="vertical"]) .tabs {
flex-direction: column; flex-direction: column;
} }
.tabs { .tabs {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
} }
.tab {
slot::slotted(.tab) {
cursor: pointer; cursor: pointer;
padding: 8px; padding: 8px;
} }