Skip to content

Commit

Permalink
fix position of focused search in inverse navbar
Browse files Browse the repository at this point in the history
When the search field in inverse navbar is focused, a small jump is size
is noticable. This is due to changing the border and padding which is
unnecessary.
  • Loading branch information
moesalih committed Aug 30, 2012
1 parent afd9312 commit 5e3d94b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions less/navbar.less
Original file line number Diff line number Diff line change
Expand Up @@ -455,11 +455,9 @@
// Focus states (we use .focused since IE7-8 and down doesn't support :focus)
&:focus,
&.focused {
padding: 5px 15px;
color: @grayDark;
text-shadow: 0 1px 0 @white;
background-color: @navbarInverseSearchBackgroundFocus;
border: 0;
.box-shadow(0 0 3px rgba(0,0,0,.15));
outline: 0;
}
Expand Down

0 comments on commit 5e3d94b

Please sign in to comment.