user5455540
user5455540

Reputation:

Image within a ng-repeat displayed in a row instead of in a column

I'm using ng-repeat to display some images. I think this is more of a CSS issue, but I'm not sure.

<div ng-repeat="hex in hexRow track by hex.id">
    <img ng-src="{{hex.img}}"/>
</div>

enter image description here

How do I display them in row rather than in column (there is no CSS style assigned to them atm)?

Upvotes: 0

Views: 34

Answers (1)

Don
Don

Reputation: 1334

You are using div tag as container which is block element. Thats why they are coming in column

Upvotes: 1

Related Questions