Skip to content

Commit 843531f

Browse files
committed
Remove <span class="title"> around Source link on dropdown
This fixes a bug where it would disappear if the screen width got too narrow.
1 parent 29f0cda commit 843531f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

templates/rustdoc/topbar.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,7 @@
7676
{# A link to the release's source view #}
7777
<li class="pure-menu-item">
7878
<a href="{{ crate_url | safe }}/source/" title="Browse source of {{ metadata.name }}-{{ metadata.version }}" class="pure-menu-link">
79-
{{ "folder-open" | fas(fw=true) }}
80-
<span class="title">Source</span>
79+
{{ "folder-open" | fas(fw=true) }} Source
8180
</a>
8281
</li>
8382
</ul>

0 commit comments

Comments
 (0)