Skip to content

Commit

Permalink
Fix servo
Browse files Browse the repository at this point in the history
  • Loading branch information
drakeerv committed Oct 31, 2024
1 parent 9d7b501 commit 47be1e0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion views/components/search_bar.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
}

.search-input input[type="search"] {
height: 40px;
width: calc(100% - 60px);
padding: 10px 16px;
border: none;
Expand All @@ -22,7 +23,6 @@
color: #999;
}

/* Remove the search input's default clear button in webkit browsers */
.search-input input[type="search"]::-webkit-search-decoration,
.search-input input[type="search"]::-webkit-search-cancel-button,
.search-input input[type="search"]::-webkit-search-results-button,
Expand All @@ -32,6 +32,7 @@

.search-input button {
width: 50px;
height: 40px;
padding: 10px 0;
border: none;
border-radius: 5px;
Expand All @@ -42,6 +43,9 @@
transition: all 0.2s ease;
margin-left: 4px;
vertical-align: middle;
/* horizontal align content */
display: inline-block;
text-align: center;
}

.search-input button:hover {
Expand Down
3 changes: 2 additions & 1 deletion views/results.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@

#results {
padding: 10px;
height: 100%;
height: calc(100% - 20px);
width: calc(100% - 20px);
background: radial-gradient(circle at 100% 0%, rgba(152, 219, 124, 0.15), transparent 50%), radial-gradient(circle at 0% 100%, rgba(255, 71, 85, 0.15), transparent 50%);
}

Expand Down

0 comments on commit 47be1e0

Please sign in to comment.