Browse Source
Merge pull request #7652 from vvlladd28/bug/fullscrean-dashboard/custom-css
[3.4.2] UI: Fixed custom dashboard CSS was not applied when a dashboard is full-screen
pull/7676/head
Igor Kulikov
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
3 additions and
2 deletions
-
ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-page.component.html
-
ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-page.component.ts
|
|
|
@ -16,7 +16,7 @@ |
|
|
|
|
|
|
|
--> |
|
|
|
<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> |
|
|
|
<section class="tb-dashboard-toolbar" |
|
|
|
[ngClass]="{ 'tb-dashboard-toolbar-opened': toolbarOpened, |
|
|
|
|
|
|
|
@ -354,7 +354,8 @@ export class DashboardPageComponent extends PageComponent implements IDashboardC |
|
|
|
private overlay: Overlay, |
|
|
|
private viewContainerRef: ViewContainerRef, |
|
|
|
private cd: ChangeDetectorRef, |
|
|
|
private sanitizer: DomSanitizer) { |
|
|
|
private sanitizer: DomSanitizer, |
|
|
|
public elRef: ElementRef) { |
|
|
|
super(store); |
|
|
|
if (isDefinedAndNotNull(embeddedValue)) { |
|
|
|
this.embedded = embeddedValue; |
|
|
|
|