Skip to content
This repository has been archived by the owner on Jun 11, 2021. It is now read-only.

Commit

Permalink
fix(css): firefox placeholder opacity
Browse files Browse the repository at this point in the history
  • Loading branch information
Shipow committed Jul 4, 2020
1 parent 94c00a2 commit 49f7ac3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/docsearch-react/src/styles/modal.css
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,13 @@
font-size: 1.2em;
height: 100%;
outline: none;
padding-left: 8px;
padding: 0 0 0 8px;
width: 80%;
}

.DocSearch-Input::placeholder {
color: var(--docsearch-muted-color);
opacity: 1; /* Firefox */
}

.DocSearch-Input::-webkit-search-cancel-button,
Expand Down

0 comments on commit 49f7ac3

Please sign in to comment.