Skip to content

Commit 4c53bc7

Browse files
committed
Made the placeholder text in the search bar to be visible properly
1 parent d4f5012 commit 4c53bc7

File tree

4 files changed

+31
-127
lines changed

4 files changed

+31
-127
lines changed

package-lock.json

Lines changed: 28 additions & 126 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
"react-dom": "^17.0.2",
7272
"react-helmet": "^6.1.0",
7373
"react-intl": "^5.25.1",
74+
"react-refresh": "^0.14.0",
7475
"remark-slug": "^6.1.0",
7576
"remark-unwrap-images": "^2.1.0",
7677
"title-case": "^3.0.3"

src/components/SearchBar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const SearchBar = ({ className }) => {
2323
if (searchTerm) {
2424
window.open(
2525
'https://www.google.com/search?as_sitesearch=processing.org&as_q=' +
26-
searchTerm,
26+
searchTerm,
2727
'_blank'
2828
);
2929
}

src/components/SearchBar.module.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
.input::placeholder {
2424
color: var(--darkgray);
2525
opacity: 1;
26+
padding-top: 7px;
2627
}
2728

2829
.searchBar {

0 commit comments

Comments
 (0)