From c3070126dd10a1f937e537aac6d81b62c4311797 Mon Sep 17 00:00:00 2001 From: mateuswetah Date: Sun, 20 May 2018 20:02:10 -0300 Subject: [PATCH] Explains to eslit that is a global variable so it can stop complaining about it every time we build ;) --- .eslintrc.js | 15 +++++++++------ src/admin/components/lists/items-list.vue | 3 ++- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index e2873fa26..4e6be9454 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -5,15 +5,18 @@ module.exports = { 'plugin:vue/strongly-recommended' ], parserOptions: { - "ecmaVersion": 2017 + 'ecmaVersion': 2017 }, rules: { // override/add rules settings here, such as: 'vue/no-unused-vars': 'error', - "no-console": "warn", - "no-unused-vars": "warn", - "no-undef": "warn", - "vue/html-indent": "off", - "vue/require-default-prop": "off", // https://github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/require-default-prop.md + 'no-console': 'warn', + 'no-unused-vars': 'warn', + 'no-undef': 'warn', + 'vue/html-indent': 'off', + 'vue/require-default-prop': 'off', // https://github.com/vuejs/eslint-plugin-vue/blob/master/docs/rules/require-default-prop.md + }, + globals: { + 'tainacan_plugin': true } } \ No newline at end of file diff --git a/src/admin/components/lists/items-list.vue b/src/admin/components/lists/items-list.vue index 51e053621..5e3f40c0e 100644 --- a/src/admin/components/lists/items-list.vue +++ b/src/admin/components/lists/items-list.vue @@ -334,6 +334,7 @@ export default { left: 0; top: auto; visibility: hidden; + display: table-cell; &::before { box-shadow: inset 54px 0 10px -12px #222; @@ -401,7 +402,7 @@ export default { } } img.table-thumb { - max-height: 38px !important; + max-height: 37px !important; border-radius: 3px; }