-
Notifications
You must be signed in to change notification settings - Fork 229
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
bug when using float:left; in style #200
Comments
anyone? i really would like to use this project instead of others. regards, |
Ok, I’ll take a look at it tonight and get back to you. |
thank you Mr Kamilkp |
In order to use vs-repeat the items need to be stacked either horizontally or vertically. This kind of layout is not supported. I presume you don't want to alter your HTML structure so the solution is to use |
I.E.: vm.pairs = vm.items.reduce((acc, item) => {
if (!acc.length)
return [[item]];
var last = acc[acc.length - 1];
if (last.length < 2)
last.push(item);
else
acc.push([item]);
return acc;
}, []); <div ng-repeat-start="pair in ctrl.pairs" class="repeated-item">
{{pair[0]}}
</div>
<div ng-repeat-end class="repeated-item">
{{pair[1]}}
</div> |
thank you mr kamilkp. can you look at this issue? jsfiddle screenshot of issue => http://bodyresultsblueprint.com/issue.png
any advice? regards, |
hi,
i am trying to display result 2 in each row that would be ( width:50% and float:left )
here is an example of my issue in jsfiddle you will notice only half div is showing rest is blank.
anyone can help me with this issue?
regards,
The text was updated successfully, but these errors were encountered: