diff --git a/.eslintignore b/.eslintignore index f238ad411f..2dd79c50c5 100644 --- a/.eslintignore +++ b/.eslintignore @@ -5,4 +5,5 @@ language-mapping-list.js scripts/extensions/*/node_modules scripts/extensions/**/dist end-to-end-testing-helpers/dist -end-to-end-testing-helpers/node_modules \ No newline at end of file +end-to-end-testing-helpers/node_modules +spec/**/*.js \ No newline at end of file diff --git a/package.json b/package.json index 03a49d9839..248b2a1548 100644 --- a/package.json +++ b/package.json @@ -156,7 +156,7 @@ "debug-unit-tests": "karma start karma.conf.js --browsers=Chrome", "unit": "grunt unit", "build": "grunt build", - "lint": "tsc -p scripts --noEmit && tslint -c tslint.json './**/*.{ts,tsx}' && eslint --parser=@typescript-eslint/parser --ext .js --ext .jsx --ext .ts --ext .tsx scripts tasks *.js", + "lint": "tsc -p scripts --noEmit && tslint -c tslint.json './**/*.{ts,tsx}' && eslint --parser=@typescript-eslint/parser --ext .js --ext .jsx --ext .ts --ext .tsx scripts spec tasks *.js", "lint-fix": "tsc -p scripts --noEmit && tslint --fix -c tslint.json 'scripts/**/*.{ts,tsx}' && eslint --fix --parser=@typescript-eslint/parser --ext .js --ext .jsx --ext .ts --ext .tsx scripts spec tasks *.js", "start-test-server": "cd test-server && python3 -m venv env && . env/bin/activate && pip install -Ur requirements.txt && honcho start", "protractor": "protractor protractor.conf.js", diff --git a/scripts/apps/authoring/styles/themes.scss b/scripts/apps/authoring/styles/themes.scss index 469629c6e7..8c2356477c 100644 --- a/scripts/apps/authoring/styles/themes.scss +++ b/scripts/apps/authoring/styles/themes.scss @@ -311,7 +311,11 @@ body, html { } } } - + .field__label--with-actions { + display: flex; + .field__label { margin-right: auto; } + } + .main-article__fieldset { display: flex; flex-direction: row; diff --git a/scripts/apps/authoring/views/article-edit.html b/scripts/apps/authoring/views/article-edit.html index c60586cd22..fcf4ff7a1e 100644 --- a/scripts/apps/authoring/views/article-edit.html +++ b/scripts/apps/authoring/views/article-edit.html @@ -679,7 +679,6 @@ sd-validation-error="error[field._id]" order="{{editor[field._id].order}}" data-required="schema[field._id].required"> -