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: Add removed classes while changed on grid panel #881

Merged
merged 2 commits into from Jun 13, 2019

Conversation

JKMarkowski
Copy link
Contributor

Please provide a link to the associated issue.

#864

Please provide a brief summary of this pull request.

In issue there is noticed that, basic fd-grid-panel classes dissapear, when number of columns is changed

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

Not needed.

@netlify
Copy link

netlify bot commented Jun 10, 2019

Deploy preview for fundamental-ngx ready!

Built with commit 693de03

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

@@ -15,7 +15,7 @@ export class PanelGridComponent extends AbstractFdNgxClass {
@Input()
col: number;

/** Whether the grid shoul have a gap. */
/** Whether the grid should have a gap. */
@Input()
@HostBinding('class.fd-panel-grid--nogap')
Copy link
Contributor

Choose a reason for hiding this comment

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

is there a point in keeping this line if we're just adding the class in setProperties?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, there is no point in adding classes in HostBinding.

@mikerodonnell89 mikerodonnell89 self-requested a review June 13, 2019 16:22
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

Successfully merging this pull request may close these issues.

None yet

3 participants