diff --git a/src/Squidex/app/features/api/api-area.component.html b/src/Squidex/app/features/api/api-area.component.html index 1aa702dea..fae5e792b 100644 --- a/src/Squidex/app/features/api/api-area.component.html +++ b/src/Squidex/app/features/api/api-area.component.html @@ -1,33 +1,25 @@ -
-
-

API

-
+ + API + - - - -
- -
- -
+ + +
\ No newline at end of file diff --git a/src/Squidex/app/features/api/pages/graphql/graphql-page.component.html b/src/Squidex/app/features/api/pages/graphql/graphql-page.component.html index 579a1b0a3..74f0d3054 100644 --- a/src/Squidex/app/features/api/pages/graphql/graphql-page.component.html +++ b/src/Squidex/app/features/api/pages/graphql/graphql-page.component.html @@ -1,5 +1,5 @@ - -
+ +
\ No newline at end of file diff --git a/src/Squidex/app/features/api/pages/graphql/graphql-page.component.scss b/src/Squidex/app/features/api/pages/graphql/graphql-page.component.scss index afdde04bc..20f3f1bd6 100644 --- a/src/Squidex/app/features/api/pages/graphql/graphql-page.component.scss +++ b/src/Squidex/app/features/api/pages/graphql/graphql-page.component.scss @@ -4,11 +4,13 @@ @import '~graphiql/graphiql'; .graphiql-container { - @include absolute(0, 0, 0, 0); -} + & { + @include absolute(0, 0, 0, 0); + } -.graphiql-container > * { - box-sizing: content-box; + & > * { + box-sizing: content-box; + } // sass-lint:disable class-name-format & .editorWrap { diff --git a/src/Squidex/app/framework/angular/modals/root-view.component.ts b/src/Squidex/app/framework/angular/modals/root-view.component.ts index d0b260e75..4017109d9 100644 --- a/src/Squidex/app/framework/angular/modals/root-view.component.ts +++ b/src/Squidex/app/framework/angular/modals/root-view.component.ts @@ -10,7 +10,7 @@ import { Component, ViewChild, ViewContainerRef } from '@angular/core'; @Component({ selector: 'sqx-root-view', styleUrls: ['./root-view.component.scss'], - template: './root-view.component.html' + templateUrl: './root-view.component.html' }) export class RootViewComponent { @ViewChild('element', { read: ViewContainerRef }) diff --git a/src/Squidex/app/framework/angular/panel-container.directive.ts b/src/Squidex/app/framework/angular/panel-container.directive.ts index ca1792c35..66259345c 100644 --- a/src/Squidex/app/framework/angular/panel-container.directive.ts +++ b/src/Squidex/app/framework/angular/panel-container.directive.ts @@ -5,17 +5,16 @@ * Copyright (c) Squidex UG (haftungsbeschränkt). All rights reserved. */ -import { AfterViewInit, Directive, ElementRef, HostListener, OnDestroy, Renderer } from '@angular/core'; +import { AfterViewInit, Directive, ElementRef, HostListener, Renderer } from '@angular/core'; import { PanelComponent } from './panel.component'; @Directive({ selector: '[sqxPanelContainer]' }) -export class PanelContainerDirective implements AfterViewInit, OnDestroy { +export class PanelContainerDirective implements AfterViewInit { private readonly panels: PanelComponent[] = []; private containerWidth = 0; - private isInit = false; constructor( private readonly element: ElementRef, @@ -28,10 +27,6 @@ export class PanelContainerDirective implements AfterViewInit, OnDestroy { this.invalidate(true); } - public ngOnDestroy() { - this.isInit = true; - } - public ngAfterViewInit() { this.invalidate(true); } diff --git a/src/Squidex/app/framework/angular/panel.component.html b/src/Squidex/app/framework/angular/panel.component.html index ced7e62ff..3783c0563 100644 --- a/src/Squidex/app/framework/angular/panel.component.html +++ b/src/Squidex/app/framework/angular/panel.component.html @@ -1,6 +1,8 @@
-
+ + +
diff --git a/src/Squidex/app/framework/angular/panel.component.ts b/src/Squidex/app/framework/angular/panel.component.ts index b0bbb9d49..6abd3dd9b 100644 --- a/src/Squidex/app/framework/angular/panel.component.ts +++ b/src/Squidex/app/framework/angular/panel.component.ts @@ -31,6 +31,9 @@ export class PanelComponent implements AfterViewInit, OnDestroy, OnInit { @Input() public isBlank = false; + @Input() + public isFullSize = false; + @Input() public showScrollbar = false;