Skip to content

Commit

Permalink
Rollup merge of rust-lang#93241 - GuillaumeGomez:rust-logo-appearance…
Browse files Browse the repository at this point in the history
…, r=jsha

Fix brief appearance of rust logo in the sidebar

Part of rust-lang#91374.

I simply removed the CSS animation on the visibility, which now makes it all appear at once. I didn't change the CSS animation on the width though, which gives:

https://user-images.githubusercontent.com/3050060/150689595-067a6e00-9875-40c8-9d8a-1e3031dbcaba.mp4

cc `@camelid`

r? `@jsha`
  • Loading branch information
matthiaskrgr authored Jan 24, 2022
2 parents ed1fea8 + d889a4e commit d1aa2f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustdoc/html/static/css/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ nav.sub {
}

.source .sidebar > *:not(:first-child) {
transition: opacity 0.5s, visibility 0.2s;
transition: opacity 0.5s;
opacity: 0;
visibility: hidden;
}
Expand Down

0 comments on commit d1aa2f7

Please sign in to comment.