mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-21 04:50:14 +08:00
feat: set -webkit-tap-highlight-color to transparent
This commit is contained in:
parent
489a5b664e
commit
56edac00be
@ -7,12 +7,17 @@ import commonVariables from '../common/_common'
|
||||
//
|
||||
// Technically we can remove font-size & font-family & line-height to make
|
||||
// it pure. However the coding cost doesn't worth it.
|
||||
//
|
||||
// -webkit-tap-hilight-color:
|
||||
// https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-tap-highlight-color
|
||||
// In some android devices, there will be the style.
|
||||
export default c('body', `
|
||||
margin: 0;
|
||||
font-size: ${commonVariables.fontSize};
|
||||
font-family: ${commonVariables.fontFamily};
|
||||
line-height: ${commonVariables.lineHeight};
|
||||
-webkit-text-size-adjust: 100%;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
`, [
|
||||
c('input', `
|
||||
font-family: inherit;
|
||||
|
@ -33,7 +33,6 @@ export default c([
|
||||
box-sizing: border-box;
|
||||
font-size: var(--font-size);
|
||||
padding-bottom: 6px;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
`, [
|
||||
cM('horizontal', {
|
||||
display: 'inline-flex',
|
||||
|
Loading…
Reference in New Issue
Block a user