verbb / vizy

A flexible visual editor for Craft CMS
Other
44 stars 8 forks source link

Some rendering space issue #81

Closed wmdhosting closed 2 years ago

wmdhosting commented 2 years ago

Im on last version..

When i use just matrix field there is no space like on image.. vizy

engram-design commented 2 years ago

Not really clear what you mean sorry. You mean there's spacing between Matrix blocks, which in turn are in Vizy blocks? I would've though you have full control over that in your template rendering?

What is the space exactly, is it an empty <div>, <p>, etc? Can you provide what template code you're using?

I also can't really relate the fields on the left to the preview on the right sorry. Makes it a little difficult to tell the content in the control panel vs the expected output. I'm also not familiar with the field you're using for those images/cards/stats.

wmdhosting commented 2 years ago

THsi space is only when i put matrix field in Vizy.. for use in other places.. On other place where i use that matrix only. no spacing.. from code that is in templates..

this is div

2021-10-29_14-58-39

engram-design commented 2 years ago

You've highlighted a <div> with the class post-image - that templating and style seems all your own?

wmdhosting commented 2 years ago

yes. templating is done for matrix field and thats works ok. when not in Vizy field when i put matrix in vizy field.. geting this spaces..

And i need to use same tamplates. for matrix field and matrix in vizy..

Just asked . if you hav eany idea why its happening..

engram-design commented 2 years ago

Hard to say without:

But Vizy shouldn't impose any styles otherwise. Can you inspect the element to see where that margin is coming from?

engram-design commented 2 years ago

Closing due to age and need further information.