Skip to content

Commit

Permalink
Factor nav-padding into search input width (#967)
Browse files Browse the repository at this point in the history
Hardcoded value of 30px no longer works when navigation padding is changed. This is now calculated dynamically.
  • Loading branch information
jdahdah authored and lord committed Mar 1, 2018
1 parent c8941b0 commit 7ecc79c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/stylesheets/screen.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ html, body {
padding: 6px 0 6px 20px;
box-sizing: border-box;
margin: $nav-v-padding $nav-padding;
width: $nav-width - 30;
width: $nav-width - ($nav-padding*2);
outline: none;
color: $nav-text;
border-radius: 0; /* ios has a default border radius */
Expand Down

0 comments on commit 7ecc79c

Please sign in to comment.