Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Commit

Permalink
Tweak navbar styles and animations
Browse files Browse the repository at this point in the history
  • Loading branch information
bobheadxi committed Aug 11, 2018
1 parent 0e4f69d commit ca0bf1a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion web/components/navbar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class Navbar extends React.Component {
const atTop = offset < 96;

// Calculate transparency
const transparent = scrollingDown ? offset < 256 : atTop;
const transparent = offset < 256;

// Update state
this.setState({
Expand Down
6 changes: 3 additions & 3 deletions web/styles/spacing.sass
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ $navbar: $spacing-giga
padding-right: $spacing-xs
&-m
padding-right: $spacing-s
&-l
padding-left: $spacing-l
&-l
padding-right: $spacing-l

// repeating vertical elements
&-vertical
&-text-inputs
Expand Down

0 comments on commit ca0bf1a

Please sign in to comment.