Skip to content

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

Merged
ChristophWurst merged 1 commit into
masterfrom
fix/modal/sizing
Oct 27, 2020
Merged

Also set Modal height/width to allow children to define their height/width and not only max-height/width#1518
ChristophWurst merged 1 commit into
masterfrom
fix/modal/sizing

Conversation

@skjnldsv

Copy link
Copy Markdown
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

@julien-nc julien-nc left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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, :)

@ChristophWurst ChristophWurst left a comment

Copy link
Copy Markdown
Contributor

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