updated styles for ScrollTopButton
This commit is contained in:
@@ -23,9 +23,17 @@ export const ScrollTopButton = () => {
|
||||
|
||||
return (
|
||||
<i
|
||||
className="bi bi-arrow-up-square scroll-top-btn text-info"
|
||||
className="bi bi-arrow-up-square text-info"
|
||||
onClick={() => scrollToTop()}
|
||||
style={{display: visible ? 'inline' : 'none'}}
|
||||
style={{
|
||||
display: visible ? 'inline' : 'none',
|
||||
position: 'fixed',
|
||||
right: '50px',
|
||||
bottom: '90px',
|
||||
fontSize: '3rem',
|
||||
zIndex: 1,
|
||||
cursor: 'pointer'
|
||||
}}
|
||||
/>
|
||||
)
|
||||
}
|
Reference in New Issue
Block a user