File tree 2 files changed +14
-3
lines changed
2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -2264,6 +2264,17 @@ in src-script.js and main.js
2264
2264
margin : 0 ;
2265
2265
padding : var (--nav-sub-mobile-padding );
2266
2266
}
2267
+
2268
+ .example-wrap .scraped-example {
2269
+ flex-wrap : wrap;
2270
+ }
2271
+ .example-wrap .scraped-example-title {
2272
+ width : 100% ;
2273
+ }
2274
+ .example-wrap .scraped-example .rust {
2275
+ /* Dirty hacky to force it to remain on the same line as the line numbers. */
2276
+ width : 10px ;
2277
+ }
2267
2278
}
2268
2279
2269
2280
/* Should have min-width: (N + 1)px where N is the mobile breakpoint above. */
Original file line number Diff line number Diff line change 1
1
< div class ="example-wrap scraped-example{% if !info.needs_expansion +%} expanded{% endif %} " data-locs ="{{info.locations}} ">
2
+ < div class ="scraped-example-title ">
3
+ {{info.name +}} (< a href ="{{info.url}} "> {{info.title}}</ a > ) {# #}
4
+ </ div >
2
5
{# https://developers.google.com/search/docs/crawling-indexing/robots-meta-tag#data-nosnippet-attr
3
6
Do not show "1 2 3 4 5 ..." in web search results. #}
4
7
< div data-nosnippet > < pre class ="src-line-numbers ">
12
15
{{code_html|safe}}
13
16
</ code > {# #}
14
17
</ pre > {# #}
15
- < div class ="scraped-example-title ">
16
- {{info.name +}} (< a href ="{{info.url}} "> {{info.title}}</ a > ) {# #}
17
- </ div >
18
18
{% if info.needs_prev_next_buttons || info.needs_expansion %}
19
19
< div class ="button-holder ">
20
20
{% if info.needs_prev_next_buttons %}
You can’t perform that action at this time.
0 commit comments