lundi 7 mai 2018

EMBER - Each handler is generating ember-view div around my component

So, my container is a flexbox and I am trying to render components with the handlebars each helper. The problem is that flexbox only affects its immediate children and being that the each helper is surrounding each of the components it generates with a div with the class of ember-view, my flexbox is obviously affecting the divs the helpers generating instead of my components.

EXAMPLE:

    
        <p class="text text--watermark text--bold">NEW</p>
        
                            
        
    

OUTPUT: Example of dom problem

What would be the best of getting around while still using the each helper?




Aucun commentaire:

Enregistrer un commentaire