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

Also set Modal height/width to allow children to define their height/width and not only max-height/width #1518

Merged
merged 1 commit into from
Oct 27, 2020

Conversation

skjnldsv
Copy link
Contributor

For viewer, to automatically contain the image, we need a specific css pattern that rely on a combination of max and height/width.
If only one is defined the chaining is broken.

Before After
dev skjnldsv com_apps_contacts_All%20contacts_adb58ef0-8850-4f41-8afa-6b6144ca894b_contacts (1) dev skjnldsv com_apps_contacts_All%20contacts_adb58ef0-8850-4f41-8afa-6b6144ca894b_contacts

…width and not only max-height/width

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
@skjnldsv skjnldsv added 3. to review Waiting for reviews design Design, UX, interface and interaction design feature: modal Related to the modal component labels Oct 26, 2020
@skjnldsv skjnldsv self-assigned this Oct 26, 2020
Copy link
Contributor

@julien-nc julien-nc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine.

Corners are rounded before and not after. Is it expected?

@skjnldsv
Copy link
Contributor Author

Corners are rounded before and not after. Is it expected?

Yes, haven't applied the rounded corners on the proper element. This is unrelated to this component, :)

Copy link
Contributor

@ChristophWurst ChristophWurst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews design Design, UX, interface and interaction design feature: modal Related to the modal component
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants