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

Without Images to use ngx-masonry #68

Closed
weilinzung opened this issue Jan 14, 2021 · 1 comment
Closed

Without Images to use ngx-masonry #68

weilinzung opened this issue Jan 14, 2021 · 1 comment

Comments

@weilinzung
Copy link
Contributor

The layout is not showing properly when has no image and just a div. Do I have to use images all the time?

Example:
https://stackblitz.com/edit/ngx-masonry-layout-issue-1zeuss?file=src%2Fapp%2Fapp.component.html

<!-- <img class="brick" [src]="post.image"> -->
<div class="brick" style="background-color: red; width: 500px; height: 500px; position: relative">test test test testtest test</div>
@weilinzung
Copy link
Contributor Author

duplicated #69

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

No branches or pull requests

1 participant