darsain / sly

JavaScript library for one-directional scrolling with item based navigation support.
http://darsa.in/sly
2.87k stars 496 forks source link

decrease the item width #112

Closed ranaharoon closed 10 years ago

ranaharoon commented 10 years ago

Not an issue, but want to decrease item width as in css .frame ul li { float: left; width: 227px; /* 200px needed */ height: 100%; margin: 0 1px 0 0; padding: 0; background: #333; color: #ddd; text-align: center; cursor: pointer; } after changing width as required 227px to 200px there comes empty items end of the scroller. don't know how to deal with automatically assigned width.

job done

Done by assigning width value in CSS. before i was updating value using inspect element. Thanks