toast.scss 353 B

1234567891011121314151617181920212223242526
  1. .toast-container {
  2. pointer-events: none;
  3. display: flex;
  4. flex-direction: column;
  5. gap: 12px;
  6. justify-content: space-between;
  7. }
  8. .toast-content {
  9. pointer-events: auto;
  10. }
  11. .toast.showing {
  12. opacity: 0;
  13. }
  14. .global-toasts {
  15. position: fixed;
  16. bottom: 12px;
  17. left: 50%;
  18. transform: translateX(-50%);
  19. [role='alert'] {
  20. z-index: 20;
  21. }
  22. }