Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixos-search
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 5bb94c9c92e5
Choose a base ref
...
head repository: NixOS/nixos-search
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: e9bdeae3e269
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Jan 25, 2021

  1. Remove the defunct "burger menu" and always expand the navigation (#273)

    I commonly run into a situation where the burger menu button is being
    showed to me but it broke some time ago and doesn't expand the menu
    anymore.
    
    Since the snipped was probably mostly 1:1 translated from the old
    nixos.org page (where we had more links than just the three we have now)
    we can probably just remove it now. It is a net win as the feature was
    broken and at least now you can use the website on mobile again.
    andir authored Jan 25, 2021
    1
    Copy the full SHA
    e9bdeae View commit details
Showing with 2 additions and 12 deletions.
  1. +2 −12 src/Main.elm
14 changes: 2 additions & 12 deletions src/Main.elm
Original file line number Diff line number Diff line change
@@ -306,20 +306,10 @@ view model =
[ div [ class "navbar navbar-static-top" ]
[ div [ class "navbar-inner" ]
[ div [ class "container" ]
[ button
[ type_ "button"
, class "btn btn-navbar"
, attribute "data-toggle" "collapse"
, attribute "data-target" ".nav-collapse"
]
[ span [ class "icon-bar" ] []
, span [ class "icon-bar" ] []
, span [ class "icon-bar" ] []
]
, a [ class "brand", href "https://nixos.org" ]
[ a [ class "brand", href "https://nixos.org" ]
[ img [ src "https://nixos.org/logo/nix-wiki.png", class "logo" ] []
]
, div [ class "nav-collapse collapse" ]
, div [ ]
[ ul [ class "nav pull-left" ]
(viewNavigation model.route)
]