mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-22 03:42:14 +00:00
[Beta] Remove nav fadein
It's pretty distracting when switching tabs.
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user