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
This commit is contained in:
commit
c15bd05099
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user