We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2974738 commit 4589f5eCopy full SHA for 4589f5e
common/components/BackToTop.tsx
@@ -36,7 +36,7 @@ const BackToTop = () => {
36
37
return <>
38
<div className={`to-top ${show ? 'show' : 'hide'}`}>
39
- <Button className="to-top-btn" type="secondary" icon={<ArrowUp />} auto onClick={backToTop}>Top</Button>
+ <Button type="secondary" icon={<ArrowUp />} auto onClick={backToTop}>Top</Button>
40
</div>
41
<style jsx>{`
42
.to-top {
@@ -47,13 +47,11 @@ const BackToTop = () => {
47
z-index: 1;
48
opacity: 0;
49
transition: opacity 0.3s;
50
+ border-radius: 20px;
51
}
52
.to-top.show {
53
opacity: 1;
54
- :global(.to-top-btn) {
55
- border-radius: 20px !important;
56
- }
57
`}</style>
58
</>
59
0 commit comments