Skip to content

PositionX does not work appart from 'center' #12

Description

@remybroun

I am trying to set the PositionX to 'end'. The snackbar shows on the left.
See screenshot.

Steps to reproduce:

  1. Install package with npm
  2. Create twtoast.config.js
  3. Import package to code:
    const { toast, snackbar } = require('tailwind-toast')
  4. Add toast to code:
    snackbar().success('Great!', 'We saved it!').from('top', 'end').show()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions