Speed up animations throughout the panel
This commit is contained in:
parent
cbdede75a7
commit
28992c5e43
12 changed files with 13 additions and 14 deletions
|
@ -67,7 +67,7 @@ export default () => {
|
|||
|
||||
return (
|
||||
error ?
|
||||
<CSSTransition timeout={250} in appear classNames={'fade'}>
|
||||
<CSSTransition timeout={150} in appear classNames={'fade'}>
|
||||
<div css={tw`bg-red-500 py-2`}>
|
||||
<ContentContainer css={tw`flex items-center justify-center`}>
|
||||
<Spinner size={'small'}/>
|
||||
|
|
|
@ -40,7 +40,7 @@ export default () => {
|
|||
{(!databases.length && loading) ?
|
||||
<Spinner size={'large'} centered/>
|
||||
:
|
||||
<Fade timeout={250}>
|
||||
<Fade timeout={150}>
|
||||
<>
|
||||
{databases.length > 0 ?
|
||||
databases.map((database, index) => (
|
||||
|
|
|
@ -138,7 +138,7 @@ export default ({ uuid }: { uuid: string }) => {
|
|||
/>
|
||||
<SpinnerOverlay visible={showSpinner} fixed size={'large'}/>
|
||||
</div>
|
||||
<Fade timeout={250} in={menuVisible} unmountOnExit classNames={'fade'}>
|
||||
<Fade timeout={150} in={menuVisible} unmountOnExit classNames={'fade'}>
|
||||
<div
|
||||
ref={menu}
|
||||
onClick={e => {
|
||||
|
|
|
@ -70,7 +70,7 @@ export default () => {
|
|||
This directory seems to be empty.
|
||||
</p>
|
||||
:
|
||||
<CSSTransition classNames={'fade'} timeout={250} appear in>
|
||||
<CSSTransition classNames={'fade'} timeout={150} appear in>
|
||||
<React.Fragment>
|
||||
<div>
|
||||
{files.length > 250 ?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue