File tree 3 files changed +14
-8
lines changed
material.angular.io/src/app
3 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -51,9 +51,10 @@ app-component-viewer {
51
51
// sticky positioning
52
52
@media (max-width : constants .$small-breakpoint-width ) {
53
53
order : -1 ;
54
- position : inherit ;
54
+ position : relative ;
55
55
width : auto ;
56
56
padding-left : 0 ;
57
+ max-height : none ;
57
58
}
58
59
}
59
60
}
@@ -65,7 +66,7 @@ app-component-viewer {
65
66
66
67
.docs-component-api ,
67
68
.docs-component-overview {
68
- width : 80 % ;
69
+ width : 75 % ;
69
70
70
71
@media (max-width : constants .$small-breakpoint-width ) {
71
72
width : 100% ;
Original file line number Diff line number Diff line change 36
36
37
37
.docs-guide-content {
38
38
flex-grow : 1 ;
39
- width : 80 % ;
39
+ width : 75 % ;
40
40
41
41
@media (max-width : constants .$extra-small-breakpoint-width ) {
42
42
width : 100% ;
@@ -51,8 +51,9 @@ table-of-contents {
51
51
// sticky positioning
52
52
@media (max-width : constants .$extra-small-breakpoint-width ) {
53
53
order : -1 ;
54
- position : inherit ;
54
+ position : relative ;
55
55
width : auto ;
56
56
padding-left : 0 ;
57
+ max-height : none ;
57
58
}
58
59
}
Original file line number Diff line number Diff line change 1
1
:host {
2
2
font-size : 13px ;
3
3
// Width is container width minus content width
4
- width : 19 % ;
4
+ width : 24 % ;
5
5
position : sticky ;
6
6
top : 0 ;
7
7
padding-left : 25px ;
8
8
box-sizing : border-box ;
9
9
display : inline-flex ;
10
10
flex-direction : column ;
11
+ max-height : calc (100vh - 120px );
12
+ overflow : auto ;
11
13
}
12
14
13
15
.docs-toc-container {
14
16
width : 100% ;
15
- padding : 5px 0 10px 10px ;
17
+ padding : 8px 0 8px 16px ;
18
+ box-sizing : border-box ;
16
19
17
20
& + .docs-toc-container {
18
- padding-top : 8 px ;
21
+ padding-top : 12 px ;
19
22
}
20
23
}
21
24
39
42
}
40
43
41
44
.docs-level-h4 {
42
- margin-left : 12px ;
45
+ padding-left : 12px ;
46
+ box-sizing : border-box ;
43
47
}
You can’t perform that action at this time.
0 commit comments