Skip to content

Commit

Permalink
Fix loading icon bug (#295)
Browse files Browse the repository at this point in the history
* Fix loading icon bug

* Revert hero changes
  • Loading branch information
emilkowalski authored Jan 14, 2024
1 parent 7c19a8c commit 3f2162c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,6 @@ html[dir='rtl'],

.sonner-loading-bar:nth-child(1) {
animation-delay: -1.2s;
/* Rotate trick to avoid adding an additional pixel in some sizes */
transform: rotate(0.0001deg) translate(146%);
}

Expand Down
2 changes: 1 addition & 1 deletion website/src/components/Hero/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const Hero = () => {
data-primary=""
onClick={() => {
toast('Sonner', {
description: 'An opinionated toast component for React.'
description: 'An opinionated toast component for React.',
});
}}
className={styles.button}
Expand Down

1 comment on commit 3f2162c

@vercel
Copy link

@vercel vercel bot commented on 3f2162c Jan 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.