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

DxList height property not working #95

Closed
pringshia opened this issue Sep 2, 2016 · 2 comments
Closed

DxList height property not working #95

pringshia opened this issue Sep 2, 2016 · 2 comments

Comments

@pringshia
Copy link

pringshia commented Sep 2, 2016

I ran into an issue today where the height property on my DxList component was not working. The issue was occurring on Chrome v52.

This was happening because the DxList element needs to be display: block for the height property to work. However, when you create a non-standard HTML element tag (e.g. <dx-list></dx-list>), the browser was setting it's display property by default to inline. This was preventing the height styles from taking effect.

I was able to override this by manually setting the display: block style on the dx-list element. Another workaround would be to declare the component as such: <div dx-list></div> although this is not encourage per the style guide.

@Angelminster
Copy link

Maybe similar to #61 ?

@dxvladislavvolkov
Copy link
Contributor

Yes, you are right. This issue is a duplicate of #61

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants