diff --git a/toparea-text-widget/src/index.ts b/toparea-text-widget/src/index.ts index ce7eef20..9b9435d8 100644 --- a/toparea-text-widget/src/index.ts +++ b/toparea-text-widget/src/index.ts @@ -3,7 +3,7 @@ import { JupyterFrontEndPlugin } from '@jupyterlab/application'; -import { DOMUtils } from "@jupyterlab/apputils"; +import { DOMUtils } from '@jupyterlab/apputils'; import { Widget } from '@lumino/widgets'; @@ -25,7 +25,7 @@ const plugin: JupyterFrontEndPlugin = { const widget = new Widget({ node }); widget.id = DOMUtils.createDomID(); widget.addClass(TOP_AREA_CSS_CLASS); - app.shell.add(widget, 'top', { rank: 1000 }) + app.shell.add(widget, 'top', { rank: 1000 }); } }; diff --git a/toparea-text-widget/style/base.css b/toparea-text-widget/style/base.css index ef44f532..1a282a21 100644 --- a/toparea-text-widget/style/base.css +++ b/toparea-text-widget/style/base.css @@ -4,9 +4,10 @@ https://jupyterlab.readthedocs.io/en/stable/developer/css.html */ +/* stylelint-disable selector-class-pattern */ .jp-TopAreaText { - display: flex; - justify-content: center; - align-items: center; - margin-right: 10px; + display: flex; + justify-content: center; + align-items: center; + margin-right: 10px; } diff --git a/toparea-text-widget/ui-tests/tests/jupyterlab_toparea_text.spec.ts b/toparea-text-widget/ui-tests/tests/jupyterlab_toparea_text.spec.ts index 889737a5..26e31eb7 100644 --- a/toparea-text-widget/ui-tests/tests/jupyterlab_toparea_text.spec.ts +++ b/toparea-text-widget/ui-tests/tests/jupyterlab_toparea_text.spec.ts @@ -1,4 +1,3 @@ - import { test, expect } from '@jupyterlab/galata'; test('should add a top area text', async ({ page }) => {