Skip to content

Commit

Permalink
fix: make search bar taller on widescreen (#1210)
Browse files Browse the repository at this point in the history
  • Loading branch information
yangshun committed Jan 29, 2019
1 parent 487fd57 commit a99dbb1
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion v1/lib/static/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -934,6 +934,14 @@ input#search_input_react {
width: 170px;
}

.navSearchWrapper:before {
left: 24px;
}

.navSearchWrapper:after {
left: 35px;
}

input#search_input_react:focus,
input#search_input_react:active {
color: #fff;
Expand Down Expand Up @@ -1368,7 +1376,7 @@ input::placeholder {
font-size: 14px;
line-height: 20px;
outline: none;
padding-left: 25px;
padding-left: 38px;
position: relative;
transition: background-color 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55),
width 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55), color 0.2s ease;
Expand Down Expand Up @@ -1426,6 +1434,13 @@ input::placeholder {
top: auto;
}

.reactNavSearchWrapper input#search_input_react {
height: 100%;
padding-top: 8px;
padding-bottom: 8px;
padding-left: 38px;
}

.navSearchWrapper .algolia-autocomplete {
display: block;
}
Expand Down

0 comments on commit a99dbb1

Please sign in to comment.