[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[x] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:
Current behavior
Expected behavior
I'd like to set a min-width and max-width on modal sizes, the same way min-height and max-height are already possible.
Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
Some modals need to stretch slightly in the horizontal direction, based on the contents. For example, a longer piece of text that shouldn't wrap could overflow the modal since it's width was set explicitly.
Environment
Angular version: X.Y.Z
Browser:
- [ ] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
For Tooling issues:
- Node version: XX
- Platform:
Others:
I'm submitting a...
Current behavior
Expected behavior
I'd like to set a
min-width
andmax-width
on modal sizes, the same waymin-height
andmax-height
are already possible.Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
Some modals need to stretch slightly in the horizontal direction, based on the contents. For example, a longer piece of text that shouldn't wrap could overflow the modal since it's width was set explicitly.
Environment