Skip to content

Commit bb0f4ae

Browse files
committed
Auto merge of #2430 - birkenfeld:doc-menu, r=alexcrichton
crates.io pull request: rust-lang/crates.io#276
2 parents 8fc3fd8 + 7618750 commit bb0f4ae

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/doc/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ <h1>CARGO</h1>
2626

2727
<div class="dropdown-container">
2828
<button class="dropdown">
29-
Documentation
29+
Docs
3030
<span class="arrow"></span>
3131
</button>
3232
<ul id="current-user-links" class="dropdown" data-bindattr-503="503">

src/doc/stylesheets/all.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,8 +244,9 @@ ul.dropdown {
244244
visibility: none;
245245
position: absolute;
246246
top: 100%;
247-
left: 0;
247+
right: 0;
248248
width: 100%;
249+
min-width: 150px;
249250
opacity: 0;
250251
margin: 0;
251252
text-align: left;

0 commit comments

Comments
 (0)