Compare commits
No commits in common. "99468efa3f6047883452021cb963e04d0cc8d053" and "c16d2020ca72fb5ec29d4a35b9a0d36bc3c0d59d" have entirely different histories.
99468efa3f
...
c16d2020ca
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@tp/tp-tabs",
|
||||
"version": "1.2.0",
|
||||
"version": "1.0.1",
|
||||
"description": "",
|
||||
"main": "tp-tabs.js",
|
||||
"scripts": {
|
||||
@ -13,7 +13,7 @@
|
||||
"author": "trading_peter",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"lit": "^2.8.0",
|
||||
"@tp/helpers": "^2.1.0"
|
||||
"lit": "^2.2.0",
|
||||
"@tp/helpers": "^1.0.0"
|
||||
}
|
||||
}
|
||||
|
@ -5,7 +5,7 @@ This program is available under Apache License Version 2.0
|
||||
*/
|
||||
|
||||
import { closest } from '@tp/helpers';
|
||||
import { LitElement, html, css } from 'lit';
|
||||
import { LitElement, html, css } from 'lit-element';
|
||||
|
||||
class TpTabs extends LitElement {
|
||||
static get styles() {
|
||||
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user