@@ -299,15 +299,6 @@ summary {
299
299
300
300
/* Fix some style changes due to normalize.css 8 */
301
301
302
- td ,
303
- th {
304
- padding : 0 ;
305
- }
306
-
307
- table {
308
- border-collapse : collapse;
309
- }
310
-
311
302
button ,
312
303
input ,
313
304
optgroup ,
@@ -578,7 +569,7 @@ h2.location a {
578
569
position : relative;
579
570
}
580
571
581
- .example-wrap > pre . line-number {
572
+ pre .example-line-numbers {
582
573
overflow : initial;
583
574
border : 1px solid;
584
575
padding : 13px 8px ;
@@ -591,15 +582,15 @@ h2.location a {
591
582
text-decoration : underline;
592
583
}
593
584
594
- .line-numbers {
585
+ .src- line-numbers {
595
586
text-align : right;
596
587
}
597
- .rustdoc : not (.source ) .example-wrap > pre : not (.line-number ) {
588
+ .rustdoc : not (.source ) .example-wrap > pre : not (.example- line-numbers ) {
598
589
width : 100% ;
599
590
overflow-x : auto;
600
591
}
601
592
602
- .rustdoc : not (.source ) .example-wrap > pre .line-numbers {
593
+ .rustdoc : not (.source ) .example-wrap > pre .src- line-numbers {
603
594
width : auto;
604
595
overflow-x : visible;
605
596
}
@@ -612,14 +603,14 @@ h2.location a {
612
603
text-align : center;
613
604
}
614
605
615
- .content > .example-wrap pre .line-numbers {
606
+ .content > .example-wrap pre .src- line-numbers {
616
607
position : relative;
617
608
-webkit-user-select : none;
618
609
-moz-user-select : none;
619
610
-ms-user-select : none;
620
611
user-select : none;
621
612
}
622
- .line-numbers span {
613
+ .src- line-numbers span {
623
614
cursor : pointer;
624
615
}
625
616
@@ -695,6 +686,7 @@ pre, .rustdoc.source .example-wrap {
695
686
width : calc (100% - 2px );
696
687
overflow-x : auto;
697
688
display : block;
689
+ border-collapse : collapse;
698
690
}
699
691
700
692
.docblock table td {
@@ -2067,7 +2059,7 @@ in storage.js plus the media query with (min-width: 701px)
2067
2059
padding-bottom : 0 ;
2068
2060
}
2069
2061
2070
- .scraped-example : not (.expanded ) .code-wrapper pre .line-numbers {
2062
+ .scraped-example : not (.expanded ) .code-wrapper pre .src- line-numbers {
2071
2063
overflow-x : hidden;
2072
2064
}
2073
2065
@@ -2113,12 +2105,12 @@ in storage.js plus the media query with (min-width: 701px)
2113
2105
bottom : 0 ;
2114
2106
}
2115
2107
2116
- .scraped-example .code-wrapper .line-numbers {
2108
+ .scraped-example .code-wrapper .src- line-numbers {
2117
2109
margin : 0 ;
2118
2110
padding : 14px 0 ;
2119
2111
}
2120
2112
2121
- .scraped-example .code-wrapper .line-numbers span {
2113
+ .scraped-example .code-wrapper .src- line-numbers span {
2122
2114
padding : 0 14px ;
2123
2115
}
2124
2116
0 commit comments