Skip to content

Commit

Permalink
fixed typo in custom--top-button class. Prev => custom--top-buttom Ne…
Browse files Browse the repository at this point in the history
…w => custom--top-button. Also added a cursor pointer to the button class to remain consistent with the BasicButton scss file.
  • Loading branch information
cassius2828 committed Feb 9, 2025
1 parent e494933 commit 1deb2b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ function App() {
</a>
</div>
</footer>
<div className="custom--top-buttom">
<div className="custom--top-button">
<div
onClick={() => {
window.scrollTo({ top: 0, behavior: 'smooth' })
Expand Down
3 changes: 2 additions & 1 deletion src/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -545,8 +545,9 @@ footer {
user-select: none;
}

.custom--top-buttom {
.custom--top-button {
position: fixed;
cursor: pointer;
bottom: 20px;
right: 20px;
z-index: 100;
Expand Down

0 comments on commit 1deb2b5

Please sign in to comment.