Fix style of input(type="search") on macOS Safari (#6484)

This commit is contained in:
tamaina 2020-07-12 00:43:17 +09:00 committed by GitHub
parent a0ea5776ab
commit 66d6e71f06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View file

@ -498,6 +498,7 @@ export default Vue.extend({
border-radius: 38px;
color: var(--fg);
background: var(--bg);
-webkit-appearance: textfield;
&:focus {
outline: none;

View file

@ -44,10 +44,12 @@ export default Vue.extend({
font-size: 16px;
border: solid 1px var(--divider);
border-radius: 4px 0 0 4px;
-webkit-appearance: textfield;
}
> button {
flex-shrink: 0;
margin: 0;
padding: 0 16px;
border: solid 1px var(--divider);
border-left: none;