nextcloud/appstore

Hide navigation on small screens

開放

#432 建立於 2017年2月5日

 (4 則留言) (2 個反應) (0 位負責人)Python (174 個分叉)auto 404
enhancementgood first issuemedium priority

倉庫指標

星標
 (389 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

On small screens with a width lower than 768px (e.g. mobile phones), the navigation (category list) doesn't float on the left side but moves above of the content (responsive design with media queries). This approach is fine and it fits perfectly for the startpage. But if I've chosen an app to view, I have to scroll down the long list of categories, before I can see the desired content (cp. screenshot).

screenshot

Therefore, I propose to change the appearance of the category list as following (in dependance of the type of page shown):

  • Start page (https://apps.nextcloud.com/): keep the current behavior, i.e. show the category list always.
  • Category view (https://apps.nextcloud.com/categories/*): collapse the category list and show only the current category selection; provide a button to expand the category list using JavaScript.
  • App view (https://apps.nextcloud.com/apps/*): don't show the category list at all; you can go back to the list of categories by clicking the Nextcloud App Store icon on the top.

This behavior should apply only to the media query for small devices, i.e. it has to be realized in CSS. The layout for larger devices can be kept, in my view.

貢獻者指南