diff --git a/__snapshots__/bay-editor.md b/__snapshots__/bay-editor.md index f6e5987036..fa16050c56 100644 --- a/__snapshots__/bay-editor.md +++ b/__snapshots__/bay-editor.md @@ -3,7 +3,10 @@ #### `looks like the latest snapshot` ```html - + + + + + + { await super.updateComplete; + this.tabIndex = 0; + if (this.addMenu) this.addMenu.anchor = this.headerContainer; const parentEditorContainer = @@ -91,8 +93,6 @@ export class EditorContainer extends LitElement { ); this.contrasted = !parentEditorContainer.contrasted; - - this.tabIndex = 0; } private renderAddButtons(): TemplateResult[] { @@ -199,7 +199,7 @@ export class EditorContainer extends LitElement { transition: all 200ms linear; outline-style: solid; margin: 8px 12px 16px; - overflow: hidden; + padding: 0.05px; outline-width: 0px; outline-color: var(--mdc-theme-primary); opacity: 1; @@ -219,7 +219,6 @@ export class EditorContainer extends LitElement { .nomargin { margin: 0px; - overflow: visible; } :host { diff --git a/src/zeroline/substation-editor.ts b/src/zeroline/substation-editor.ts index 3a970313b7..e31616bec0 100644 --- a/src/zeroline/substation-editor.ts +++ b/src/zeroline/substation-editor.ts @@ -70,53 +70,47 @@ export class SubstationEditor extends LitElement { } render(): TemplateResult { - return html` - - ${this.renderIedContainer()} - - this.openLNodeWizard()} - > - - - cloneSubstationElement(this)} - > - - - this.openEditWizard()} - > - - - - startMove(this, SubstationEditor, SubstationEditor)} - > - - - this.remove()} - > ${Array.from( - this.element.querySelectorAll(selectors.VoltageLevel) - ).map( - voltageLevel => - html`` - )} - - `; + return html` + + this.openLNodeWizard()} + > + + + cloneSubstationElement(this)} + > + + + this.openEditWizard()} + > + + + startMove(this, SubstationEditor, SubstationEditor)} + > + + + this.remove()} + > + ${this.renderIedContainer()} + ${Array.from(this.element.querySelectorAll(selectors.VoltageLevel)).map( + voltageLevel => + html`` + )}`; } static styles = css`