Browse Source

Fix lint problems

pull/15027/head
afc163 6 years ago
committed by 偏右
parent
commit
efafa6346d
  1. 2
      components/form/__tests__/label.test.js
  2. 2
      components/select/style/index.less

2
components/form/__tests__/label.test.js

@ -5,7 +5,7 @@ import Form from '..';
describe('Form', () => {
// Mock of `querySelector`
const originQuerySelector = HTMLElement.prototype.querySelector;
HTMLElement.prototype.querySelector = function(str) {
HTMLElement.prototype.querySelector = function querySelector(str) {
const match = str.match(/^\[id=('|")(.*)('|")]$/);
const id = match && match[2];

2
components/select/style/index.less

@ -552,8 +552,8 @@
top: 50%;
right: @control-padding-horizontal;
color: transparent;
font-size: 12px;
font-weight: bold;
font-size: 12px;
text-shadow: 0 0.1px 0, 0.1px 0 0, 0 -0.1px 0, -0.1px 0;
transform: translateY(-50%);
transition: all .2s;

Loading…
Cancel
Save