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

Modal (micro size) height should be dependent on the content inside #909

Open
xionatan opened this issue Nov 15, 2019 · 0 comments
Open

Comments

@xionatan
Copy link

The size (height) of the micro modal should be dependent on the content inside the modal, meaning that instead of .ts-modal.ts-micro {height: calc(100% - (20px * 5 * 2));} we should have .ts-modal.ts-micro {max-height: calc(100% - (20px * 5 * 2)); height: auto;} and set the default height to auto.

Also, no matter what the height is, the modal should be positioned screen center (vertically and horizontally).

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

1 participant