Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 2 commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
0af211a
Don't allow implement CoerceUnsized into dyn-star
compiler-errors Oct 22, 2022
6e6c49e
Don't CoerceUnsized dyn* to dyn*
compiler-errors Nov 10, 2022
4f978db
Unbreak upcasting
compiler-errors Nov 10, 2022
269ce36
migrating rustc_resolve to SessionDiagnostic. work in progress. start
rajputrajat Sep 5, 2022
5008a31
Fix non-associativity of `Instant` math on `aarch64-apple-darwin` tar…
maniwani Oct 26, 2022
015ab65
just use `libc::clockid_t`
maniwani Nov 13, 2022
f4f5159
macos, aarch64, and not(miri)
maniwani Nov 14, 2022
74c9a6c
fix #103381, Detect incorrect chaining of if and if let conditions
chenyukang Nov 15, 2022
cd2bde1
move testcase for tidy
chenyukang Nov 15, 2022
ebee589
rustdoc: clean up sidebar width CSS
notriddle Nov 17, 2022
4e65f5e
Add variant_name function to `LangItem`
flip1995 Nov 5, 2022
23e5fa1
Migrate GUI test to use functions
GuillaumeGomez Nov 16, 2022
ff38c28
fix a typo
RalfJung Nov 17, 2022
3e59657
Rollup merge of #101162 - rajputrajat:master, r=davidtwco
matthiaskrgr Nov 18, 2022
741f3cf
Rollup merge of #103386 - compiler-errors:no-coerceunsized-to-dynstar…
matthiaskrgr Nov 18, 2022
3efbf30
Rollup merge of #103405 - chenyukang:yukang/fix-103381-and-if, r=comp…
matthiaskrgr Nov 18, 2022
6419151
Rollup merge of #103594 - maniwani:fix-issue-91417, r=thomcc
matthiaskrgr Nov 18, 2022
2ea0126
Rollup merge of #104006 - flip1995:lang-items-clippy, r=oli-obk
matthiaskrgr Nov 18, 2022
5a8bc0b
Rollup merge of #104494 - GuillaumeGomez:migrate-gui-test-to-func, r=…
matthiaskrgr Nov 18, 2022
5977fbb
Rollup merge of #104516 - notriddle:notriddle/flex-basis-sidebar-widt…
matthiaskrgr Nov 18, 2022
7e5e520
Rollup merge of #104550 - RalfJung:typo, r=compiler-errors
matthiaskrgr Nov 18, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 4 additions & 9 deletions src/librustdoc/html/static/css/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -384,8 +384,7 @@ img {

.sidebar {
font-size: 0.875rem;
width: 200px;
min-width: 200px;
flex: 0 0 200px;
overflow-y: scroll;
position: sticky;
height: 100vh;
Expand All @@ -394,12 +393,7 @@ img {
}

.rustdoc.source .sidebar {
width: 50px;
min-width: 0px;
max-width: 300px;
flex-grow: 0;
flex-shrink: 0;
flex-basis: auto;
flex-basis: 50px;
border-right: 1px solid;
overflow-x: hidden;
/* The sidebar is by default hidden */
Expand All @@ -420,7 +414,7 @@ img {

.source-sidebar-expanded .source .sidebar {
overflow-y: auto;
width: 300px;
flex-basis: 300px;
}

.source-sidebar-expanded .source .sidebar > *:not(#sidebar-toggle) {
Expand Down Expand Up @@ -1701,6 +1695,7 @@ in storage.js
z-index: 11;
/* Reduce height slightly to account for mobile topbar. */
height: calc(100vh - 45px);
width: 200px;
}

/* The source view uses a different design for the sidebar toggle, and doesn't have a topbar,
Expand Down