[Beta] Remove nav fadein

It's pretty distracting when switching tabs.
This commit is contained in:
Dan Abramov
2022-11-21 15:54:04 +00:00
parent e50e5634cc
commit 2896038b1f
2 changed files with 0 additions and 10 deletions

View File

@@ -64,7 +64,6 @@ function CollapseWrapper({
className={cn(isExpanded ? 'opacity-100' : 'opacity-50')}
style={{
transition: `opacity ${duration}ms ease-in-out`,
animation: `nav-fadein ${duration}ms ease-in-out`,
}}>
<div {...getCollapseProps()}>{children}</div>
</div>

View File

@@ -153,15 +153,6 @@
display: none;
}
@keyframes nav-fadein {
from {
opacity: 0.5;
}
to {
opacity: 1;
}
}
/*
* Hopefully when scrollbar-color lands everywhere,
* (and not just in FF), we'll be able to keep just this.