I want to create the behaviour explained in the following scheme :
Each time an element is outside the screen i want it to be placed in a new column, on the right.
For the moment, all the elements are in the same column.
Here is how my elements are currently displayed :
<style is="custom-style" include="iron-flex">
.flex-wrap {
@apply(--layout-wrap);
@apply(--layout-vertical);
}
</style>
<template>
<div class="container flex-wrap" >
<template is="dom-repeat" items="{{employeesArray}}">
<employee-element name="{{item.title}}"
preview="{{item.preview}}"
width={{item.width}} height={{item.height}}>
</employee-element>
</template>
</div>
</template>
How can I force the element to be place in the location I drew ?