File tree Expand file tree Collapse file tree 3 files changed +17
-2
lines changed
Expand file tree Collapse file tree 3 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 2222 < node-projects-tab style ="position: absolute; width: 300px; height: 300px; ">
2323 < div header ="Tab 1 " style ="background: red; display: none; height: 100%; " > Tab Content of Tab 1</ div >
2424 < div header ="Tab 2 " style ="background: green; display: none; height: 100%; "> Tab Content of Tab 2</ div >
25+ < div header ="Tab 1 " style ="background: red; display: none; height: 100%; " > Tab Content of Tab 1</ div >
26+ < div header ="Tab 2 " style ="background: green; display: none; height: 100%; "> Tab Content of Tab 2</ div >
27+ < div header ="Tab 1 " style ="background: red; display: none; height: 100%; " > Tab Content of Tab 1</ div >
28+ < div header ="Tab 2 " style ="background: green; display: none; height: 100%; "> Tab Content of Tab 2</ div >
29+ < div header ="Tab 1 " style ="background: red; display: none; height: 100%; " > Tab Content of Tab 1</ div >
30+ < div header ="Tab 2 " style ="background: green; display: none; height: 100%; "> Tab Content of Tab 2</ div >
31+ < div header ="Tab 1 " style ="background: red; display: none; height: 100%; " > Tab Content of Tab 1</ div >
32+ < div header ="Tab 2 " style ="background: green; display: none; height: 100%; "> Tab Content of Tab 2</ div >
2533 </ node-projects-tab >
2634 </ body >
2735</ html >
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ export default class TabPlacementService extends DefaultPlacementService {
1414 i . removeStyle ( 'position' ) ;
1515 if ( i . hasStyle ( 'width' ) )
1616 i . removeStyle ( 'width' ) ;
17- if ( i . hasStyle ( 'heigth ' ) )
18- i . removeStyle ( 'heigth ' ) ;
17+ if ( i . hasStyle ( 'height ' ) )
18+ i . removeStyle ( 'height ' ) ;
1919 if ( i . hasStyle ( 'left' ) )
2020 i . removeStyle ( 'left' ) ;
2121 if ( i . hasStyle ( 'top' ) )
Original file line number Diff line number Diff line change @@ -14,13 +14,20 @@ export class TabWebcomponent extends BaseCustomWebComponentConstructorAppend {
1414 position: static;
1515 }
1616
17+ .tab-header-container::-webkit-scrollbar {
18+ display: none;
19+ }
20+
1721 .tab-header-container {
22+ scrollbar-width: none;
1823 height: 30px;
1924 display: flex;
2025 user-select: none;
2126 flex-direction: row;
2227 cursor: pointer;
2328 background: inherit;
29+ white-space: nowrap;
30+ overflow: auto;
2431 }
2532
2633 .tab-header-container > div {
You can’t perform that action at this time.
0 commit comments