mingchuno / golden-cache

hkgolden cache using Play! and AngularJs
https://plasticnofd.xyz
GNU General Public License v3.0
24 stars 6 forks source link

breadcrumb always hidden when width < 900px and index page always no 1. #26

Open 556556bt opened 8 years ago

556556bt commented 8 years ago

Navigation breadcrumb disappear when browser width fewer than 900px. it is unable to navigate forum while using mobile browser.

<ol class="visible-md visible-lg breadcrumb">
</ol>

Simply remove "and (min-width: 992px)" of "@media (max-width: 1199px) and (min-width: 992px)" in css can fix the problem.

Btw, it always go back to first page of zone index when click the link at the breadcrumb

E.g. While I enter a post in page 5 of "SW" Zone, I go back to index page by clicking the zone index link of breadcrumb, it should go to last index page (page 5) instead of page 1.

mingchuno commented 8 years ago

It seems that the breadcrumb intentionally becomes invisible in small screen size. See here: https://github.com/mingchuno/golden-cache/blob/master/ui/app/views/post.html#L5

For the second part, you can add this feature by submitting a PR.

556556bt commented 8 years ago

It's a bit odd the navigation breadcrumb is invisible in smaller screen. By removing some code in CSS, I checked this breadcrumb would not crash or overlapping other info. block while in small screen or lower resolution.

Btw, I don't know about Scala and have no testing environment. Currently, I just access thru. plasticnofd.xyz to experience the functions.