File tree Expand file tree Collapse file tree 4 files changed +6
-14
lines changed Expand file tree Collapse file tree 4 files changed +6
-14
lines changed Original file line number Diff line number Diff line change @@ -27,14 +27,6 @@ export default html`
27
27
.nav-scroll ::-webkit-scrollbar-track {
28
28
background : transparent;
29
29
}
30
- .nav-scroll ::-webkit-scrollbar {
31
- display : none;
32
- width : 12px ;
33
- background-color : transparent;
34
- }
35
- .nav-scroll : hover ::-webkit-scrollbar {
36
- display : block;
37
- }
38
30
.nav-scroll ::-webkit-scrollbar-thumb {
39
31
border : 3px solid var (--nav-bg-color );
40
32
border-width : 0 3px ;
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ export function expandedEndpointBodyTemplate(path) {
78
78
export default function expandedEndpointTemplate ( ) {
79
79
return html `
80
80
${ this . resolvedSpec . tags . map ( ( tag ) => html `
81
- < div id ="${ tag . name . replace ( invalidCharsRegEx , '-' ) } " class ='regular-font section-gap--read-mode observe-me ' style ="border-top:1px solid var(--primary-color); ">
81
+ < div id ="tag-- ${ tag . name . replace ( invalidCharsRegEx , '-' ) } " class ='regular-font section-gap--read-mode observe-me ' style ="border-top:1px solid var(--primary-color); ">
82
82
< div class ="title tag "> ${ tag . name } </ div >
83
83
< div class ="regular-font-size ">
84
84
${ unsafeHTML ( `<div class='m-markdown regular-font'>${ marked ( tag . description ? tag . description : '' ) } </div>` ) }
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import '@/components/api-response';
8
8
/* eslint-disable indent */
9
9
function focusedTagBodyTemplate ( tag ) {
10
10
return html `
11
- < h1 id ="tag- ${ tag . name } "> ${ tag . name } </ h1 >
11
+ < h1 id ="tag-- ${ tag . name } "> ${ tag . name } </ h1 >
12
12
${ tag . description ? html `< div class ="m-markdown "> ${ unsafeHTML ( marked ( tag . description || '' ) ) } </ div > ` : '' }
13
13
` ;
14
14
}
@@ -26,8 +26,8 @@ export default function focusedEndpointTemplate() {
26
26
if ( itemToFocus === 'overview' || itemToFocus === 'authentication' || itemToFocus === 'api-servers' ) {
27
27
selectedPathObj = { } ;
28
28
selectedTagObj = { } ;
29
- } else if ( itemToFocus . startsWith ( 'tag-' ) ) {
30
- const tag = itemToFocus . replace ( 'tag-' , '' ) ;
29
+ } else if ( itemToFocus . startsWith ( 'tag-- ' ) ) {
30
+ const tag = itemToFocus . replace ( 'tag-- ' , '' ) ;
31
31
selectedTagObj = this . resolvedSpec . tags . find ( ( v ) => v . name === tag ) ;
32
32
} else {
33
33
for ( i = 0 ; i < this . resolvedSpec . tags . length ; i += 1 ) {
@@ -46,7 +46,7 @@ export default function focusedEndpointTemplate() {
46
46
return html `
47
47
${ itemToFocus === 'overview' || itemToFocus === 'authentication' || itemToFocus === 'api-servers'
48
48
? html ``
49
- : itemToFocus . startsWith ( 'tag-' )
49
+ : itemToFocus . startsWith ( 'tag-- ' )
50
50
? html `
51
51
< div class ='regular-font section-gap--focused-mode '>
52
52
${ focusedTagBodyTemplate . call ( this , selectedTagObj ) }
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ export default function navbarTemplate() {
61
61
< span id ='link-paths ' class ='nav-bar-section '> Operations</ span >
62
62
${ this . resolvedSpec . tags . map ( ( tag ) => html `
63
63
<!-- Tag -->
64
- < div class ='nav-bar-tag ' id ="link- ${ tag . name . replace ( invalidCharsRegEx , '-' ) } " data-content-id ='tag- ${ tag . name } ' @click ='${ ( e ) => this . scrollToEl ( e ) } '>
64
+ < div class ='nav-bar-tag ' id ="link-tag-- ${ tag . name . replace ( invalidCharsRegEx , '-' ) } " data-content-id ='tag- - ${ tag . name } ' @click ='${ ( e ) => this . scrollToEl ( e ) } '>
65
65
${ tag . name }
66
66
</ div >
67
67
You can’t perform that action at this time.
0 commit comments