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

fix: Modal height example issues. Close icon fix. #1483

Merged
merged 2 commits into from
Oct 28, 2019

Conversation

JKMarkowski
Copy link
Contributor

Please provide a link to the associated issue.

fixes: #1474

Please provide a brief summary of this pull request.

I changed the way how there are added classes, when modal is generated as component. There is also fixed max-height value for whole modal.
I added some classes to the icon element, following fundamental-styles.

If this is a new feature, have you updated the documentation?

There is changed example a little bit, with height specified.

@netlify
Copy link

netlify bot commented Oct 25, 2019

Deploy preview for fundamental-ngx ready!

Built with commit 5c9a494

https://deploy-preview-1483--fundamental-ngx.netlify.com

if (!elementRef) {
return;
}
this.HOST_COMPONENT_CLASS_LIST.forEach(className => elementRef.nativeElement.classList.add(className));
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe consider using?

elementRef.nativeElement.classList.add(...this.HOST_COMPONENT_CLASS_LIST);

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Actually, your example looks better.

@droshev droshev added this to the sprint 22 - Gendry milestone Oct 25, 2019
@droshev droshev added this to In progress in Development via automation Oct 25, 2019
@droshev droshev added the enhancement New feature or request label Oct 25, 2019
@JKMarkowski JKMarkowski merged commit 3a0d185 into master Oct 28, 2019
Development automation moved this from In progress to Done Oct 28, 2019
@JKMarkowski JKMarkowski deleted the fix/#1474-modal-height-fix branch October 28, 2019 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Modal height and scrollable body issue
3 participants