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

Add wrapper prop to provider #57

Closed
dextermb opened this issue Feb 24, 2022 · 1 comment
Closed

Add wrapper prop to provider #57

dextermb opened this issue Feb 24, 2022 · 1 comment

Comments

@dextermb
Copy link

Due to how styles are not inherited when set outside of a component it would be great if we could pass in a customer "wrapper" component similar to how a custom item can be provided.

<Notifications wrapper={NotificationWrapper} item={NotificationItem}>
	<slot />
</Notifications>

When working on a mobile-first website the notifications are way-way-way too small to be useful.

image

This is an iPhone SE.

@usernamus
Copy link
Member

Right now I'm working on a version where I fixed this issue. Unfortunately, we will have to wait a bit with the release.

Try fixing this look by redefining the container rules via styles. The main problem here: transform: translateX(-50%);

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

No branches or pull requests

2 participants