Style fixes for scroll to top button after icon switch
This commit is contained in:
parent
2800cefdd9
commit
12028999bf
|
|
@ -34,10 +34,13 @@ export function ScrollToTopButton() {
|
||||||
zIndex: 999,
|
zIndex: 999,
|
||||||
transition: 'opacity 0.5s ease-in-out',
|
transition: 'opacity 0.5s ease-in-out',
|
||||||
opacity: isVisible ? 0.7 : 0,
|
opacity: isVisible ? 0.7 : 0,
|
||||||
pointerEvents: isVisible ? 'auto' : 'none'
|
pointerEvents: isVisible ? 'auto' : 'none',
|
||||||
|
display: 'flex',
|
||||||
|
alignItems: 'center',
|
||||||
|
justifyContent: 'center'
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<FaCircleArrowUp/>
|
<FaCircleArrowUp style={{fontSize: '36px'}}/>
|
||||||
</Button>
|
</Button>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue