Skip to content

An opinionated toast component for React.

chore: Don't show toast buffers when not expanded.

Emil Kowalskid0541a214505
diff --git a/src/styles.css b/src/styles.css
index 18adb56..8020418 100644
--- a/src/styles.css
+++ b/src/styles.css
@@ -276,7 +276,7 @@ html[dir='rtl'],
transform: scaleY(2);
}
-[data-sonner-toast]::after {
+[data-sonner-toast][data-expanded='true']::after {
content: '';
position: absolute;
left: 0;