This repository was archived by the owner on Dec 18, 2024. It is now read-only.
File tree 4 files changed +4
-8
lines changed
4 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ app-component-viewer {
40
40
41
41
table-of-contents {
42
42
top : 35px ;
43
+ position : sticky ;
43
44
44
45
// Reposition on top of content on small screens and remove
45
46
// sticky positioning
Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ $guide-content-margin-side-xs: 15px;
46
46
47
47
table-of-contents {
48
48
top : 35px ;
49
+ position : sticky ;
49
50
50
51
// Reposition on top of content on small screens and remove
51
52
// sticky positioning
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import {Router} from '@angular/router';
20
20
<a
21
21
title="Link to this heading"
22
22
[attr.aria-describedby]="example"
23
- class="docs-markdown-a docs-header-link "
23
+ class="docs-markdown-a"
24
24
aria-label="Link to this heading"
25
25
[href]="url">
26
26
<mat-icon>link</mat-icon>
Original file line number Diff line number Diff line change 1
1
:host {
2
2
font-size : 13px ;
3
- width : 19% ;
4
- position : sticky ;
5
- top : 0 ;
6
3
padding-left : 20px ;
7
4
box-sizing : border-box ;
8
5
}
9
6
10
7
.docs-toc-container {
8
+ box-sizing : border-box ;
11
9
padding : 5px 0 10px 12px ;
12
- width : 100% ;
13
10
}
14
11
15
12
.docs-toc-heading {
16
- margin : 0 ;
17
- padding : 0 ;
18
13
font-size : 13px ;
19
14
font-weight : bold ;
20
15
}
26
21
text-decoration : none ;
27
22
display : block ;
28
23
text-overflow : ellipsis ;
29
- width : 100% ;
30
24
overflow : hidden ;
31
25
}
32
26
You can’t perform that action at this time.
0 commit comments