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; border-radius: 38px;
color: var(--fg); color: var(--fg);
background: var(--bg); background: var(--bg);
-webkit-appearance: textfield;
&:focus { &:focus {
outline: none; outline: none;

View File

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