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

-stretch values and mobile position behavior #39

Open
jackbsteinberg opened this issue Jun 21, 2019 · 1 comment
Open

-stretch values and mobile position behavior #39

jackbsteinberg opened this issue Jun 21, 2019 · 1 comment

Comments

@jackbsteinberg
Copy link
Owner

jackbsteinberg commented Jun 21, 2019

In addition to all provided values of position (see #13) should there be top-stretch, center-stretch, or bottom-stretch values available to use when the developer wants to fit the toast to the entire width of the screen? Or should this stretching be done manually via CSS? Through some property other than position?

This stretching is the popular way of handling toasts on mobile, should the stretch be applied to toasts automatically when mobile platform is detected, or is that an option that should be left to the developer?

@aardrian
Copy link
Contributor

aardrian commented Jul 4, 2019

When you say “mobile platform is detected”, are you really only concerned about Android and iOS? For the thing you want to achieve, would it be useful for me on my Surface Go in portrait mode with only a keyboard because I am wearing gloves?

Either way, this likely belongs in the CSS not as attributes. We tried that with <font size="6"> and it did not prove to be a good idea.

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