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-homepage
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 474088940e96
Choose a base ref
...
head repository: NixOS/nixos-homepage
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 76b5fe16cfc3
Choose a head ref
  • 3 commits
  • 3 files changed
  • 1 contributor

Commits on Sep 9, 2020

  1. Verified

    This commit was signed with the committer’s verified signature.
    nlf nlf
    Copy the full SHA
    f6ff289 View commit details
  2. Verified

    This commit was signed with the committer’s verified signature.
    nlf nlf
    Copy the full SHA
    0ecb5e7 View commit details
  3. Verified

    This commit was signed with the committer’s verified signature.
    nlf nlf
    Copy the full SHA
    76b5fe1 View commit details
Showing with 7 additions and 4 deletions.
  1. +3 −3 layout.tt
  2. +1 −1 site-styles/components/form-elements.less
  3. +3 −0 site-styles/components/navbar.less
6 changes: 3 additions & 3 deletions layout.tt
Original file line number Diff line number Diff line change
@@ -50,11 +50,11 @@ BLOCK navigationLink %]
<header>
<div>
<h1><a href="[% root %]">NixOS</a></h1>
<div class="header-search">
<form class="header-search" method="get" action="https://search.nixos.org/packages">
<div class="form-input">
<input type="text" />
<input type="text" name="query" />
</div>
</div>
</form>
[%# ???! go read `navbar.less` and `nixos-site.js`, it's all fine I swear. %]
<nav style="display: none;">
<ul>
2 changes: 1 addition & 1 deletion site-styles/components/form-elements.less
Original file line number Diff line number Diff line change
@@ -159,7 +159,7 @@ form {
// A div is assumed to be a row.
& > div {
margin-bottom: @gutter;
#flex-flexible-margin-between(@gutter);
display: flex;
justify-content: center;
& > * {
flex-grow: initial;
3 changes: 3 additions & 0 deletions site-styles/components/navbar.less
Original file line number Diff line number Diff line change
@@ -136,6 +136,9 @@ body > header {
padding-left: @gutter / 2;
padding-right: @gutter / 2;
& > .form-input {
&, input {
margin: 0;
}
input {
background-color: transparent;
}