File tree Expand file tree Collapse file tree 2 files changed +17
-13
lines changed Expand file tree Collapse file tree 2 files changed +17
-13
lines changed Original file line number Diff line number Diff line change 5050 </ a >
5151 </ li >
5252
53- < li class =" pure-menu-item " >
54- < span class ="pure-menu-text description ">
55- {{ crate::icons::IconScaleUnbalancedFlip.render_solid(false, false, "") }}
56- {%- if let Some(parsed_licenses) = krate.parsed_license -% }
57- {%- for item in parsed_licenses -%}
53+ {%- if let Some(parsed_licenses) = krate.parsed_license -%}
54+ < li class ="pure-menu-item ">
55+ < span class =" pure-menu-link description " >
56+ {{- crate::icons::IconScaleUnbalancedFlip.render_solid(false, false, "") } }
57+ {%+ for item in parsed_licenses -%}
5858 {%- match item -%}
59- {%- when crate::web::licenses::LicenseSegment::Spdx with (license) -%}
59+ {%- when crate::web::licenses::LicenseSegment::Spdx(license) -%}
6060 < a href ="https://spdx.org/licenses/{{ license|safe }} " class ="pure-menu-sublink "> {{ license }}</ a >
61- {%- when crate::web::licenses::LicenseSegment::UnknownLicense with (license) -%}
61+ {%- when crate::web::licenses::LicenseSegment::UnknownLicense(license) -%}
6262 {{ license }}
63- {%- when crate::web::licenses::LicenseSegment::GlueTokens with (tokens) -%}
63+ {%- when crate::web::licenses::LicenseSegment::GlueTokens(tokens) -%}
6464 {{ tokens }}
6565 {%- endmatch -%}
6666 {%- endfor -%}
67- {%- endif -%}
68- </ span >
69- </ li >
67+ </ span >
68+ </ li >
69+ {%- endif -%}
7070 </ ul >
7171
7272 < div class ="pure-g menu-item-divided ">
Original file line number Diff line number Diff line change @@ -140,9 +140,13 @@ div.nav-container {
140140 outline : unset ;
141141 }
142142
143- .docsrs-logo , .pure-menu-item a .pure-menu-link , .pure-menu-item .pure-menu-text {
143+ .docsrs-logo , .pure-menu-item a .pure-menu-link , .pure-menu-item .pure-menu-text {
144144 padding : 6.4px 16px 6.4px 16px ;
145- }
145+ }
146+
147+ .pure-menu-link , .pure-menu-text {
148+ display : block ;
149+ }
146150
147151 .docsrs-logo , .pure-menu-item , .pure-menu-item a {
148152 height : 100% ;
You can’t perform that action at this time.
0 commit comments