Fix nav on mobile

This commit is contained in:
Tony Garnock-Jones 2014-11-25 07:32:17 -05:00
parent 37bd801684
commit 00e3e1263a
2 changed files with 9 additions and 3 deletions

View File

@ -23,8 +23,6 @@ you should check the existence of repos/github repos/urls/etc via XHR
Much more input validation is needed
Mobile nav doesn't show up
Table on index page doesn't fit properly on mobile. Somehow make it responsive?
There's github API for determining whether there's a preferred README

View File

@ -59,8 +59,16 @@
`(link ((rel "stylesheet") (href ,sheet) (type "text/css")))))
(body ,@(maybe-splice body-class `((class ,body-class)))
(nav ((class "navbar navbar-inverse navbar-fixed-top") (role "navigation"))
(div ((class "container"))
(div ((class "container-fluid"))
(div ((class "navbar-header"))
(button ((type "button")
(class "navbar-toggle collapsed")
(data-toggle "collapse")
(data-target "#navbar"))
(span ((class "sr-only")) "Toggle navigation")
(span ((class "icon-bar")))
(span ((class "icon-bar")))
(span ((class "icon-bar"))))
,(or (bootstrap-navbar-header)
`(a ((class "navbar-brand") (href ,(bootstrap-project-link)))
,(bootstrap-project-name))))