Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(notifications): simplify how to position them #190

Merged
merged 3 commits into from
May 19, 2023

Conversation

atinux
Copy link
Member

@atinux atinux commented May 18, 2023

Resolves #185

Instead of using notifications.wrapper, add notifications.position and notifications.width for better control without having to copy the whole classes:

export default defineAppConfig({
  ui: {
    notifications: {
      // Show toasts at the top right of the screen
      position: 'top-0 right-0'
    }
  }
})

@atinux atinux requested a review from benjamincanac May 18, 2023 09:50
@benjamincanac benjamincanac merged commit 1743ea9 into dev May 19, 2023
@benjamincanac benjamincanac deleted the feat/notif-position branch May 19, 2023 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Toast location
2 participants