Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Use height instead of max-height#14

Open
shanavas786 wants to merge 1 commit intoroszpun:masterfrom
shanavas786:use-height
Open

Use height instead of max-height#14
shanavas786 wants to merge 1 commit intoroszpun:masterfrom
shanavas786:use-height

Conversation

@shanavas786
Copy link
Copy Markdown

@shanavas786 shanavas786 commented Jun 4, 2018

Fixes rendering for wrapper taller than 500px

Fixes rendering if the wrapper is taller than 500px
@roszpun
Copy link
Copy Markdown
Owner

roszpun commented Jun 7, 2018

This would break css transition so there animation will not work.I think I should replace it with dynamic styles and JS height calculation.

@mlumbroso
Copy link
Copy Markdown

To keep the transition and make it work on bigger heights, setting a bigger max-height should do the trick (like 1500px to handle big contents) and increasing transition time.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants