UI: Fixed custom dashboard CSS was not applied when a dashboard is full-screen
This commit is contained in:
parent
385de4b978
commit
d88f0c3ba3
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
-->
|
-->
|
||||||
<div class="tb-dashboard-page mat-content" [ngClass]="{'mobile-app': isMobileApp && !isEdit}"
|
<div class="tb-dashboard-page mat-content" [ngClass]="{'mobile-app': isMobileApp && !isEdit}"
|
||||||
fxFlex tb-fullscreen [fullscreen]="widgetEditMode || iframeMode || forceFullscreen || isFullscreen">
|
fxFlex tb-fullscreen [fullscreenElement]="elRef.nativeElement" [fullscreen]="widgetEditMode || iframeMode || forceFullscreen || isFullscreen">
|
||||||
<tb-hotkeys-cheatsheet #cheatSheetComponent></tb-hotkeys-cheatsheet>
|
<tb-hotkeys-cheatsheet #cheatSheetComponent></tb-hotkeys-cheatsheet>
|
||||||
<section class="tb-dashboard-toolbar"
|
<section class="tb-dashboard-toolbar"
|
||||||
[ngClass]="{ 'tb-dashboard-toolbar-opened': toolbarOpened,
|
[ngClass]="{ 'tb-dashboard-toolbar-opened': toolbarOpened,
|
||||||
|
|||||||
@ -354,7 +354,8 @@ export class DashboardPageComponent extends PageComponent implements IDashboardC
|
|||||||
private overlay: Overlay,
|
private overlay: Overlay,
|
||||||
private viewContainerRef: ViewContainerRef,
|
private viewContainerRef: ViewContainerRef,
|
||||||
private cd: ChangeDetectorRef,
|
private cd: ChangeDetectorRef,
|
||||||
private sanitizer: DomSanitizer) {
|
private sanitizer: DomSanitizer,
|
||||||
|
public elRef: ElementRef) {
|
||||||
super(store);
|
super(store);
|
||||||
if (isDefinedAndNotNull(embeddedValue)) {
|
if (isDefinedAndNotNull(embeddedValue)) {
|
||||||
this.embedded = embeddedValue;
|
this.embedded = embeddedValue;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user