I'm trying to add X elements to a horizontal layout. My goal is to show a horizontal scroll bar as soon as the elements exceed the viewport width.
I'm following the docs:
But elements are being shrank to fit the viewport, although I'm not using fullbleed
parameter.
I've seen also this question relative to .css.
I've also try adding specific width
, without success.
Thx!
Here is one way to do it
<div id="container" style="white-space: nowrap; overflow: auto;">
<div ng-repeat="item in divElements" style="border:solid 1px red; display: inline-block;">
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments