We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02b1be1 commit 0e4319bCopy full SHA for 0e4319b
src/librustdoc/html/static/css/rustdoc.css
@@ -2227,10 +2227,14 @@ in src-script.js and main.js
2227
left: -11px;
2228
}
2229
2230
- /* We don't display these buttons on mobile devices. */
2231
- #copy-path, #help-button {
+ /* On mobile, don't show keyboard shortcuts */
+ .shortcuts {
2232
display: none;
2233
2234
+ /* since the keyboard shortcuts aren't shown, allow the search tricks to use the full width */
2235
+ div#help div.side-by-side > div {
2236
+ width: 100%;
2237
+ }
2238
2239
/* sidebar button becomes topbar button */
2240
#sidebar-button > a:before {
0 commit comments