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 4f8ae9daa8
commit d3d019c64c
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;