Compare commits

..

No commits in common. "main" and "1.1.0" have entirely different histories.
main ... 1.1.0

2 changed files with 3 additions and 5 deletions

View File

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

View File

@ -17,13 +17,11 @@ class TpTabs extends LitElement {
:host([orientation="vertical"]) .tabs {
flex-direction: column;
}
.tabs {
display: flex;
flex-direction: row;
}
slot::slotted(.tab) {
.tab {
cursor: pointer;
padding: 8px;
}
@ -43,7 +41,7 @@ class TpTabs extends LitElement {
render() {
return html`
<div class="tabs" part="wrap" @click="${this.selectTab}">
<div class="tabs" @click="${this.selectTab}">
<slot></slot>
</div>
`;