about summary refs log tree commit diff
path: root/src/librustdoc/html/static/css/rustdoc.css
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-01-24 12:29:56 +0100
committerGitHub <noreply@github.com>2022-01-24 12:29:56 +0100
commitd1aa2f7b0b652026b404788a4e7af557753d662f (patch)
tree318686377e08a126890a70c0485a0dd66f627bfd /src/librustdoc/html/static/css/rustdoc.css
parented1fea8571134039ed08b708cb3db72e336e05b7 (diff)
parentd889a4ebac0320d1f68f25d1bf00d7ae659e5a13 (diff)
downloadrust-d1aa2f7b0b652026b404788a4e7af557753d662f.tar.gz
rust-d1aa2f7b0b652026b404788a4e7af557753d662f.zip
Rollup merge of #93241 - GuillaumeGomez:rust-logo-appearance, r=jsha
Fix brief appearance of rust logo in the sidebar

Part of #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`
Diffstat (limited to 'src/librustdoc/html/static/css/rustdoc.css')
-rw-r--r--src/librustdoc/html/static/css/rustdoc.css2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css
index 6eee9cbe6a7..645c0aba6ac 100644
--- a/src/librustdoc/html/static/css/rustdoc.css
+++ b/src/librustdoc/html/static/css/rustdoc.css
@@ -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;
 }