Browse Source

UI: Improve dashboard page CSS

pull/8203/head
Igor Kulikov 4 years ago
parent
commit
cb500840f7
  1. 2
      ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-page.component.ts

2
ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-page.component.ts

@ -492,7 +492,7 @@ export class DashboardPageComponent extends PageComponent implements IDashboardC
const cssParser = new cssjs(); const cssParser = new cssjs();
cssParser.testMode = false; cssParser.testMode = false;
this.dashboardPageClass = 'tb-dashboard-page-css-' + guid(); this.dashboardPageClass = 'tb-dashboard-page-css-' + guid();
cssParser.cssPreviewNamespace = this.dashboardPageClass; cssParser.cssPreviewNamespace = 'tb-default .' + this.dashboardPageClass;
cssParser.createStyleElement(this.dashboardPageClass, cssString); cssParser.createStyleElement(this.dashboardPageClass, cssString);
} }
} }

Loading…
Cancel
Save