OOKB / rg-client-app

Rogers and Goffigon (most) site files.
0 stars 1 forks source link

When we enabled detailed mode for passementerie in < 768 and from the pricelist it appears we enabled it everywhere #226

Closed bjornmeansbear closed 10 years ago

bjornmeansbear commented 10 years ago

If possible detail view just launches when in < 768 and from the pricelist for passementerie, not in regular "desktop" mode — meaning 768px and greater.

bjornmeansbear commented 10 years ago

I looked in app/models/item.coffee to see if I could figure it out... I think it has something to do with a conditional added to 97–100, but didn't know what that might be...

webmasterkai commented 10 years ago

You want to limit it to < 768 on collection or also pricelist? I'm going to make a fuss about changing the pricelist functionality. Also, what's the harm in allowing people to go to trim detail from collection?

webmasterkai commented 10 years ago

And what's so significant about 768? :calling:

bjornmeansbear commented 10 years ago

nothing other than it was just the break points Tim was using on the old site — he matched them all in the JS to the default bootstrap xs/sm/md/lg break points

<768 is the "xs" which not very elegantly equates "mobile"