File tree 2 files changed +2
-6
lines changed
2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -322,10 +322,6 @@ main {
322
322
margin-right : auto;
323
323
}
324
324
325
- .source .width-limiter {
326
- max-width : unset;
327
- }
328
-
329
325
details : not (.rustdoc-toggle ) summary {
330
326
margin-bottom : .6em ;
331
327
}
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ <h2></h2> {#- -#}
99
99
{{- sidebar|safe -}}
100
100
</ nav > {#- -#}
101
101
< main > {#- -#}
102
- < div class ="width-limiter "> {#- -# }
102
+ {%- if page.css_class != "source" -%} < div class ="width-limiter "> {%- endif -% }
103
103
< nav class ="sub "> {#- -#}
104
104
{%- if page.css_class == "source" -%}
105
105
< a class ="sub-logo-container " href ="{{page.root_path|safe}}{{krate_with_trailing_slash|safe}}index.html "> {#- -#}
@@ -132,7 +132,7 @@ <h2></h2> {#- -#}
132
132
</ form > {#- -#}
133
133
</ nav > {#- -#}
134
134
< section id ="main-content " class ="content "> {{- content|safe -}}</ section > {#- -#}
135
- </ div > {#- -# }
135
+ {%- if page.css_class != "source" -%} </ div > {%- endif -% }
136
136
</ main > {#- -#}
137
137
{{- layout.external_html.after_content|safe -}}
138
138
< div id ="rustdoc-vars " {# -#}
You can’t perform that action at this time.
0 commit comments